Skip to content

Commit

Permalink
SAK-40367 Turnitin and TurnitinOC show up with same service name (sak…
Browse files Browse the repository at this point in the history
  • Loading branch information
baholladay authored and ern committed Jul 23, 2018
1 parent ad75902 commit ce9a3a4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ private Set<Integer> configureEnabledProviders() {
List<String> configProviders = Arrays.asList(configuredProviders.get());
for(ContentReviewService provider : providers) {
for(String configProviderName : configProviders) {
if(configProviderName.equals(provider.getServiceName())
|| Math.abs(configProviderName.hashCode()) == provider.getProviderId().intValue()) {
if(Math.abs(configProviderName.hashCode()) == provider.getProviderId().intValue()) {
enabledProviders.add(provider.getProviderId().intValue());
}
}
Expand Down

0 comments on commit ce9a3a4

Please sign in to comment.