Skip to content

Commit

Permalink
json schema: fix test schema service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Iris24 committed Aug 29, 2016
1 parent f4d321d commit 32dafbe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ protected JsonSchemaProviderFactory[] getProviderFactories() {
return new JsonSchemaProviderFactory[]{
new JsonSchemaProviderFactory() {
@Override
public List getProviders(@Nullable Project project) {
return Collections.singletonList(provider);
public List<JsonSchemaFileProvider> getProviders(@Nullable Project project) {
return provider == null ? Collections.emptyList() : Collections.singletonList(provider);
}
}
};
Expand Down

0 comments on commit 32dafbe

Please sign in to comment.