Skip to content

Commit

Permalink
cleanup: remove migrated sample (googleapis#955)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shabirmean authored Nov 18, 2022
1 parent 8fd0791 commit bb46494
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 789 deletions.
3 changes: 0 additions & 3 deletions java-language/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

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

This file was deleted.

This file was deleted.

Loading

0 comments on commit bb46494

Please sign in to comment.