Skip to content

Commit

Permalink
fix: incorrect class scoping and package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Shabirmean authored and anguillanneuf committed Dec 5, 2022
1 parent 43b9b28 commit 3c8b28f
Show file tree
Hide file tree
Showing 28 changed files with 29 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_batch_translate_text]
import com.google.api.gax.longrunning.OperationFuture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_batch_translate_text_with_glossary]
import com.google.api.gax.longrunning.OperationFuture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_batch_translate_text_with_glossary_and_model]
import com.google.api.gax.longrunning.OperationFuture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_batch_translate_text_with_model]
import com.google.api.gax.longrunning.OperationFuture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_create_glossary]
import com.google.api.gax.longrunning.OperationFuture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_delete_glossary]
import com.google.api.gax.longrunning.OperationFuture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_detect_language]
import com.google.cloud.translate.v3.DetectLanguageRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_get_glossary]
import com.google.cloud.translate.v3.GetGlossaryRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_get_supported_languages]
import com.google.cloud.translate.v3.GetSupportedLanguagesRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_get_supported_languages_for_target]
import com.google.cloud.translate.v3.GetSupportedLanguagesRequest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_list_glossary]
import com.google.cloud.translate.v3.Glossary;
Expand Down Expand Up @@ -49,6 +49,7 @@ public static void listGlossaries(String projectId) throws IOException {
System.out.printf("Entry count: %s\n", responseItem.getEntryCount());
System.out.printf(
"Input URI: %s\n", responseItem.getInputConfig().getGcsSource().getInputUri());
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_translate_text]
// [START translate_v3_translate_text_0]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_translate_text_with_glossary]
import com.google.cloud.translate.v3.GlossaryName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main.java.com.example.translate;
package com.example.translate;

// [START translate_v3_translate_text_with_model]
import com.google.cloud.translate.v3.LocationName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package test.java.com.example.translate;
package com.example.translate;

import static com.google.common.truth.Truth.assertThat;
import static junit.framework.TestCase.assertNotNull;
Expand Down

0 comments on commit 3c8b28f

Please sign in to comment.