Skip to content

Commit 59e0cad

Browse files
committed
---
yaml --- r: 7739 b: refs/heads/tswast-patch-1 c: 6d193de h: refs/heads/master i: 7737: 07ff47a 7735: 136f464
1 parent 17c0cab commit 59e0cad

3 files changed

Lines changed: 1 addition & 15 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: 7b6e5c65d2c3dd31fab465ced97b1e30ce5e6cab
60+
refs/heads/tswast-patch-1: 6d193de0bd228543ba287aae953bee907fca5785
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/FormatOptions.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ public class FormatOptions implements Serializable {
3232
static final String CSV = "CSV";
3333
static final String JSON = "NEWLINE_DELIMITED_JSON";
3434
static final String DATASTORE_BACKUP = "DATASTORE_BACKUP";
35-
static final String AVRO = "AVRO";
3635
private static final long serialVersionUID = -443376052020423691L;
3736

3837
private final String type;
@@ -95,13 +94,6 @@ public static FormatOptions datastoreBackup() {
9594
return new FormatOptions(DATASTORE_BACKUP);
9695
}
9796

98-
/**
99-
* Default options for AVRO format.
100-
*/
101-
public static FormatOptions avro() {
102-
return new FormatOptions(AVRO);
103-
}
104-
10597
/**
10698
* Default options for the provided format.
10799
*/

branches/tswast-patch-1/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/FormatOptionsTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,23 @@ public void testConstructor() {
3030
assertEquals(FormatOptions.JSON, options.getType());
3131
options = new FormatOptions(FormatOptions.DATASTORE_BACKUP);
3232
assertEquals(FormatOptions.DATASTORE_BACKUP, options.getType());
33-
options = new FormatOptions(FormatOptions.AVRO);
34-
assertEquals(FormatOptions.AVRO, options.getType());
3533
}
3634

3735
@Test
38-
@SuppressWarnings("deprecation")
3936
public void testConstructorDeprecated() {
4037
FormatOptions options = new FormatOptions(FormatOptions.CSV);
4138
assertEquals(FormatOptions.CSV, options.type());
4239
options = new FormatOptions(FormatOptions.JSON);
4340
assertEquals(FormatOptions.JSON, options.type());
4441
options = new FormatOptions(FormatOptions.DATASTORE_BACKUP);
4542
assertEquals(FormatOptions.DATASTORE_BACKUP, options.type());
46-
options = new FormatOptions(FormatOptions.AVRO);
47-
assertEquals(FormatOptions.AVRO, options.type());
4843
}
4944

5045
@Test
5146
public void testFactoryMethods() {
5247
assertEquals(FormatOptions.CSV, FormatOptions.csv().getType());
5348
assertEquals(FormatOptions.JSON, FormatOptions.json().getType());
5449
assertEquals(FormatOptions.DATASTORE_BACKUP, FormatOptions.datastoreBackup().getType());
55-
assertEquals(FormatOptions.AVRO, FormatOptions.avro().getType());
5650
}
5751

5852
@Test

0 commit comments

Comments
 (0)