Skip to content

Commit

Permalink
chore(warnings): fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cfieber committed Nov 29, 2017
1 parent d4d0ee9 commit b1b7382
Showing 1 changed file with 3 additions and 5 deletions.
Expand Up @@ -32,18 +32,16 @@
@ConditionalOnProperty("artifacts.gcs.enabled")
@EnableConfigurationProperties(StorageConfigurationProperties.class)
@EnableScheduling
class StorageConfiguration {
public class StorageConfiguration {
@Autowired
StorageConfigurationProperties storageAccountInfo;

@Bean
GcsStorageService.Factory storageServiceFactory(String clouddriverUserAgentApplicationName) {
try {
return new GcsStorageService.Factory(clouddriverUserAgentApplicationName);
} catch (IOException ioex) {
throw new IllegalStateException(ioex);
} catch (GeneralSecurityException secex) {
throw new IllegalStateException(secex);
} catch (IOException | GeneralSecurityException ex) {
throw new IllegalStateException(ex);
}
}
}

0 comments on commit b1b7382

Please sign in to comment.