Skip to content

Commit

Permalink
PAYARA-2475 Change sort back to JDK7 version
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandrex247 committed Feb 5, 2018
1 parent bfda3fc commit 6f647c6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
import java.io.FileNotFoundException;
import java.io.OutputStream;
import java.util.Arrays;
import java.util.Collections;
import java.util.concurrent.TimeUnit;
import java.util.logging.Formatter;
import java.util.logging.Handler;
Expand Down Expand Up @@ -1436,7 +1437,7 @@ private void deployAll() throws GlassFishException {

// Get all files in the directory, and sort them by file type
List<File> deploymentDirEntries = Arrays.asList(deploymentRoot.listFiles());
deploymentDirEntries.sort(new DeploymentComparator());
Collections.sort(deploymentDirEntries, new DeploymentComparator());

for (File entry : deploymentDirEntries) {
String entryPath = entry.getAbsolutePath();
Expand Down

0 comments on commit 6f647c6

Please sign in to comment.