Skip to content

Commit

Permalink
Use isNotBlank()
Browse files Browse the repository at this point in the history
  • Loading branch information
jdneo committed Jun 14, 2024
1 parent d47cf07 commit 615b666
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ public static boolean isBspProject(IProject project) {
*/
public static IProject getMainProject(String mainProjectName, String mainClassName) {
IProject mainProject = null;
if (StringUtils.isNotEmpty(mainProjectName)) {
if (StringUtils.isNotBlank(mainProjectName)) {
mainProject = ProjectUtils.getProject(mainProjectName);
}

Expand Down

0 comments on commit 615b666

Please # to comment.