Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Jan 21, 2024
1 parent 01e43d4 commit f5ff791
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/main/java/org/apache/jmeter/gui/action/ExitIDECommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import com.intellij.notification.NotificationType;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.project.ProjectManager;

import java.awt.event.ActionEvent;
import java.util.HashSet;
import java.util.Set;
Expand Down Expand Up @@ -62,16 +61,14 @@ public void doActionAfterCheck(ActionEvent e) {
Project[] project = ProjectManager.getInstance().getOpenProjects();

Notification notification = JMeterNotifications.createNotification(
"JMeter Plugin Setup",
"Please restart the IDE",
NotificationType.INFORMATION,
new RestartIDEAction()
);
"JMeter Plugin Setup", "Please restart the IDE",
NotificationType.INFORMATION, new RestartIDEAction());

if (project.length != 0) {
JMeterNotifications.showNotification(notification, project[0]);
} else {
JMeterNotifications.showNotification(notification, ProjectManager.getInstance().getDefaultProject());
JMeterNotifications.showNotification(
notification, ProjectManager.getInstance().getDefaultProject());
}
}
}

0 comments on commit f5ff791

Please sign in to comment.