Skip to content

Commit

Permalink
Merge pull request #2374 from Pandrex247/PAYARA-2475
Browse files Browse the repository at this point in the history
PAYARA-2475 Change sort back to JDK7 version
  • Loading branch information
Pandrex247 authored Feb 5, 2018
2 parents bfda3fc + 6f647c6 commit 5019f2d
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 5019f2d

Please sign in to comment.