Skip to content

Commit ca47406

Browse files
committed
Changed file names
1 parent c31e2b9 commit ca47406

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

dataproc/src/main/java/InstantiateInlineWorkflow.java renamed to dataproc/src/main/java/InstantiateInlineWorkflowTemplate.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@
3131
import java.io.IOException;
3232
import java.util.concurrent.ExecutionException;
3333

34-
public class InstantiateInlineWorkflow {
34+
public class InstantiateInlineWorkflowTemplate {
3535

36-
public static void InstantiateInlineWorkflow() throws IOException, InterruptedException {
36+
public static void instantiateInlineWorkflowTemplate() throws IOException, InterruptedException {
3737
// TODO(developer): Replace these variables before running the sample.
3838
String projectId = "your-project-id";
3939
String region = "your-project-region";
40-
instantiateInlineWorkflow(projectId, region);
40+
instantiateInlineWorkflowTemplate(projectId, region);
4141
}
4242

43-
public static void instantiateInlineWorkflow(String projectId, String region)
43+
public static void instantiateInlineWorkflowTemplate(String projectId, String region)
4444
throws IOException, InterruptedException {
4545
String myEndpoint = String.format("%s-dataproc.googleapis.com:443", region);
4646

dataproc/src/test/java/InstantiateInlineWorkflowTest.java renamed to dataproc/src/test/java/InstantiateInlineWorkflowTemplateTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import org.junit.runners.JUnit4;
2929

3030
@RunWith(JUnit4.class)
31-
public class InstantiateInlineWorkflowTest {
31+
public class InstantiateInlineWorkflowTemplateTest {
3232

3333

3434
private static final String REGION = "us-central1";
@@ -55,8 +55,8 @@ public void setUp() {
5555
}
5656

5757
@Test
58-
public void InstanstiateInlineWorkflowTest() throws IOException, InterruptedException {
59-
InstantiateInlineWorkflow.instantiateInlineWorkflow(PROJECT_ID, REGION);
58+
public void instanstiateInlineWorkflowTest() throws IOException, InterruptedException {
59+
InstantiateInlineWorkflowTemplate.instantiateInlineWorkflowTemplate(PROJECT_ID, REGION);
6060
String output = bout.toString();
6161

6262
assertThat(output, CoreMatchers.containsString("successfully"));

0 commit comments

Comments
 (0)