Skip to content

Commit

Permalink
Run 'mvn spotless:apply' to fix these violations(#15641)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyanh committed Mar 1, 2024
1 parent 21385ab commit 0b9c22a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

package org.apache.dolphinscheduler.plugin.task.java;

import static org.apache.dolphinscheduler.common.constants.Constants.FOLDER_SEPARATOR;
import static org.apache.dolphinscheduler.plugin.task.java.JavaConstants.JAVA_HOME_VAR;
import static org.apache.dolphinscheduler.plugin.task.java.JavaConstants.PUBLIC_CLASS_NAME_REGEX;

Expand Down Expand Up @@ -306,7 +305,8 @@ protected String buildExtDirs() {
ResourceContext resourceContext = taskRequest.getResourceContext();
Set<String> set = new HashSet<>();
for (ResourceInfo info : javaParameters.getResourceFilesList()) {
String absolutePathInLocal = resourceContext.getResourceItem(info.getResourceName()).getResourceAbsolutePathInLocal();
String absolutePathInLocal =
resourceContext.getResourceItem(info.getResourceName()).getResourceAbsolutePathInLocal();
String extdir = absolutePathInLocal.substring(0, absolutePathInLocal.lastIndexOf(File.separator));
if (set.add(extdir)) {
builder.append(JavaConstants.PATH_SEPARATOR);
Expand Down

0 comments on commit 0b9c22a

Please sign in to comment.