-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CHE-3369 Git history panel is not opened #3414
Conversation
} | ||
|
||
TabItem tab = getTabByPart(part); | ||
onTabClicked(tab); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tab is always non null ?
because signature of onTabClicked is requiring notNull but getTabByPart can return null
public void onTabClicked(@NotNull TabItem selectedTab) {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (containsPart(part)) {
TabItem tab = getTabByPart(part);
onTabClicked(tab);
return;
}
Yes, the case is confuses a little bit. But here tab must be not null because of there is a verification before.
if (partStackJSON.hasKey("SIZE")) { | ||
double size = partStackJSON.getNumber("SIZE"); | ||
|
||
// Size of the part must not be less 100 pixels. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment is for <100 but code is == 0 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed!
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/1354/ |
Build # 1361 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/1361/ to view the results. |
* CHE-3369 Git history panel is not opened * CHE-3369 Git history panel is not opened * CHE-3369 Git history panel is not opened
* CHE-3369 Git history panel is not opened * CHE-3369 Git history panel is not opened * CHE-3369 Git history panel is not opened
* CHE-3369 Git history panel is not opened * CHE-3369 Git history panel is not opened * CHE-3369 Git history panel is not opened
Fix appearing of the git history panel when the part is hidden.
Fix appearing of the git history panel after restoring the IDE state.
Fix the behavior of any hidden panel after restoring the IDE state.
#3369