Fixed typos

This commit is contained in:
Erhan Karakaya 2019-06-17 14:57:45 +03:00
parent 2826baee3b
commit ac850bbc0b
3 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@ public class BingTranslationServiceProvider implements TranslationService {
public String translate(String message, Locale from, Locale to) { public String translate(String message, Locale from, Locale to) {
// implementation details // implementation details
return message + " (translated by Bing)"; return message + " (translated by Bing)";
} }
} }

View File

@ -9,7 +9,7 @@ public class GoogleTranslationServiceProvider implements TranslationService {
public String translate(String message, Locale from, Locale to) { public String translate(String message, Locale from, Locale to) {
// implementation details // implementation details
return message + " (translated by Google)"; return message + " (translated by Google)";
} }
} }

View File

@ -1,6 +1,7 @@
package com.baeldung.autoservice; package com.baeldung.autoservice;
import com.baeldung.autoservice.TranslationService; import com.baeldung.autoservice.TranslationService;
import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import java.util.ServiceLoader; import java.util.ServiceLoader;