Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Hammer2020-03-14 11:57:03 +0000
committerCarsten Hammer2020-04-21 19:54:21 +0000
commit61b67eb5c221afba067e55eed231c749b33c6140 (patch)
treefeb267d48434f2ec3a58974fbdf50ec86ec45611 /org.eclipse.ui.genericeditor.examples/.classpath
parente33cf060c7cd163675a031f95eff05605cc45d79 (diff)
downloadeclipse.platform.text-I20200425-1800.tar.gz
eclipse.platform.text-I20200425-1800.tar.xz
eclipse.platform.text-I20200425-1800.zip
Change cascades of ifs which can be converted to switch over Strings. A switch statement might be faster than an if-then-else chain. And it improves clarity. The problem with if..else chain is that I have to look into all the if conditions to understand what the program is doing. And the variable might change in the chain processing. Change-Id: I936f634408bce4b867ca8794debe1a12500e0de6 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
Diffstat (limited to 'org.eclipse.ui.genericeditor.examples/.classpath')
0 files changed, 0 insertions, 0 deletions

Back to the top