Skip to content

Commit

Permalink
Google Java Format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 17, 2024
1 parent 76f354c commit 53b77f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
*/
public class TranslationResponse {

/** The detected language of the input text. It can be null if the language could not be detected.
/**
* The detected language of the input text. It can be null if the language could not be detected.
*
* @see DetectedLanguage
*/

private DetectedLanguage detectedLanguage = null;

// A collection of translations for the input text.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ void shouldAddQueryParameter() {
restRequest.addQueryParameter("to", "es");
restRequest.addQueryParameter("to", "fr");
Assertions.assertTrue(restRequest.getQueryParameters().containsKey("to"));
Assertions.assertTrue(restRequest.getQueryParameters().get("to").containsAll(
Arrays.asList("pt", "es", "fr")
));
Assertions.assertTrue(
restRequest.getQueryParameters().get("to").containsAll(Arrays.asList("pt", "es", "fr")));
}

@Test
Expand Down

0 comments on commit 53b77f1

Please sign in to comment.