Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Feb 25, 2020
1 parent 35f3a98 commit 5ad6f2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ compileJava {
options.errorprone.disable('UnusedVariable')
options.errorprone.disable('MixedMutabilityReturnType')
options.errorprone.disable('MissingOverride')
options.errorprone.disable('JavaTimeDefaultTimeZone') // a little bit too noisy
}

compileJava.dependsOn(processResources)
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/alfio/TestConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/
package alfio;

import alfio.config.Initializer;
import alfio.config.support.PlatformProvider;
import alfio.manager.FileDownloadManager;
import alfio.test.util.IntegrationTestUtil;
Expand Down Expand Up @@ -117,6 +118,7 @@ public DownloadedFile downloadFile(String url) {
}

@Bean
@Profile(Initializer.PROFILE_INTEGRATION_TEST)
public Supplier<Executor> getCurrentThreadExecutorSupplier() {
return () -> (job) -> job.run();
}
Expand Down

0 comments on commit 5ad6f2b

Please sign in to comment.