Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

cleanup: remove migrated sample #955

Merged
merged 6 commits into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ Samples are in the [`samples/`](https://github.com/googleapis/java-language/tree
| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Analyze Beta | [source code](https://github.com/googleapis/java-language/blob/main/samples/snippets/src/main/java/beta/example/language/AnalyzeBeta.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-language&page=editor&open_in_editor=samples/snippets/src/main/java/beta/example/language/AnalyzeBeta.java) |
| Analyze | [source code](https://github.com/googleapis/java-language/blob/main/samples/snippets/src/main/java/com/example/language/Analyze.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-language&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/language/Analyze.java) |
| Quickstart Sample | [source code](https://github.com/googleapis/java-language/blob/main/samples/snippets/src/main/java/com/example/language/QuickstartSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-language&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/language/QuickstartSample.java) |
| Set Endpoint | [source code](https://github.com/googleapis/java-language/blob/main/samples/snippets/src/main/java/com/example/language/SetEndpoint.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-language&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/language/SetEndpoint.java) |



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package beta.example.language;

import com.example.language.Analyze;
import com.google.cloud.language.v1beta2.AnalyzeSentimentResponse;
import com.google.cloud.language.v1beta2.ClassificationCategory;
import com.google.cloud.language.v1beta2.ClassifyTextRequest;
Expand All @@ -38,7 +37,7 @@ public static void main(String[] args) throws Exception {
System.err.println("Usage:");
System.err.printf(
"\tjava %s \"command\" \"text to analyze\" \"language\" \n",
Analyze.class.getCanonicalName());
AnalyzeBeta.class.getCanonicalName());
System.exit(1);
}
String command = args[0];
Expand Down
387 changes: 0 additions & 387 deletions samples/snippets/src/main/java/com/example/language/Analyze.java

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import static com.google.common.truth.Truth.assertThat;

import com.example.language.Analyze;
import com.google.cloud.language.v1beta2.Sentiment;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
Expand All @@ -28,7 +27,7 @@
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

/** Integration (system) tests for {@link Analyze}. */
/** Integration (system) tests for {@link AnalyzeBeta}. */
@RunWith(JUnit4.class)
@SuppressWarnings("checkstyle:abbreviationaswordinname")
public class AnalyzeBetaIT {
Expand Down
177 changes: 0 additions & 177 deletions samples/snippets/src/test/java/com/example/language/AnalyzeIT.java

This file was deleted.

This file was deleted.

Loading