Skip to content

Commit

Permalink
#33 - Update to 2.2.4 of avaje-classpath-scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave committed Sep 13, 2017
1 parent bd92644 commit 04ebc0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
9 changes: 2 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,17 @@
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.avaje</groupId>
<artifactId>avaje-classpath-scanner-api</artifactId>
<version>2.2</version>
</dependency>

<dependency>
<groupId>org.avaje</groupId>
<artifactId>avaje-classpath-scanner</artifactId>
<version>2.2.2</version>
<version>2.2.4</version>
</dependency>

<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.193</version>
<scope>test</scope>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import io.ebean.migration.MigrationVersion;
import org.avaje.classpath.scanner.Resource;
import org.avaje.classpath.scanner.ResourceFilter;
import org.avaje.classpath.scanner.Scanner;
import org.avaje.classpath.scanner.core.Scanner;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand All @@ -19,17 +19,14 @@ public class LocalMigrationResources {

private static final Logger logger = LoggerFactory.getLogger(LocalMigrationResources.class);

//private final ServerConfig serverConfig;

private final MigrationConfig migrationConfig;

private final List<LocalMigrationResource> versions = new ArrayList<LocalMigrationResource>();
private final List<LocalMigrationResource> versions = new ArrayList<>();

/**
* Construct with configuration options.
*/
public LocalMigrationResources(MigrationConfig migrationConfig) {
//this.serverConfig = serverConfig;
this.migrationConfig = migrationConfig;
}

Expand Down

0 comments on commit 04ebc0a

Please sign in to comment.