Skip to content

Commit

Permalink
indent fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
shruti0085 committed Sep 26, 2024
1 parent e30066e commit e10afd4
Showing 1 changed file with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ private void setupActions(final Browser browser, final boolean isLoggedIn) {
amazonQCommonActions = new AmazonQCommonActions(browser, isLoggedIn, getViewSite());
}

private void setupAuthStatusListeners() {
authStatusChangedListener = this::handleAuthStatusChange;
AuthUtils.addAuthStatusChangeListener(amazonQCommonActions.getSignoutAction());
AuthUtils.addAuthStatusChangeListener(amazonQCommonActions.getFeedbackDialogContributionAction());
}
private void setupAuthStatusListeners() {
authStatusChangedListener = this::handleAuthStatusChange;
AuthUtils.addAuthStatusChangeListener(amazonQCommonActions.getSignoutAction());
AuthUtils.addAuthStatusChangeListener(amazonQCommonActions.getFeedbackDialogContributionAction());
}

/**
* Sets up virtual host mapping for the given path using jetty server
Expand Down Expand Up @@ -158,16 +158,16 @@ public final void setFocus() {
browser.setFocus();
}

/**
* Disposes of the resources associated with this view.
*
* This method is called when the view is closed. It removes the authentication
* status change listener and the selection listener from the page.
*/
@Override
public void dispose() {
AuthUtils.removeAuthStatusChangeListener(authStatusChangedListener);
super.dispose();
}
/**
* Disposes of the resources associated with this view.
*
* This method is called when the view is closed. It removes the authentication
* status change listener and the selection listener from the page.
*/
@Override
public void dispose() {
AuthUtils.removeAuthStatusChangeListener(authStatusChangedListener);
super.dispose();
}

}

0 comments on commit e10afd4

Please sign in to comment.