Community
Participate
Working Groups
I have this code if (getTabCount() != 0) { // if nothing is selected then select the first tab if (tabContentPanel.getContent() == null) { setSelectedTab(0); } } I do a quickfix to join the two if's and the result is this if (getTabCount() != 0 && tabContentPanel.getContent() == null) { setSelectedTab(0); } which is correct from a javacode point of view :) But I lost my comment. It would be nice to keep this comment so I expect the following result if (getTabCount() != 0 && tabContentPanel.getContent() == null) { // if nothing is selected then select the first tab setSelectedTab(0); }
NOt sure who the culprit is, UI or AST rewrite. Copying Manoj and Noopur just in case.
*** This bug has been marked as a duplicate of bug 250142 ***