From 3b67ccb04052aede235a76fa8de1b1e078e0e2d2 Mon Sep 17 00:00:00 2001
From: romlogic <45241349+romlogic@users.noreply.github.com>
Date: Thu, 3 Jan 2019 17:21:32 -0600
Subject: [PATCH 1/3] updated links
---
.../src/main/java/com/google/cloud/bigquery/Field.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java
index 3fbad523e859..4c54e9037a90 100644
--- a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java
+++ b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java
@@ -106,7 +106,7 @@ public Builder setName(String name) {
* @throws IllegalArgumentException
* if {@code type == LegacySQLTypeName.RECORD && subFields.length == 0}
* or if {@code type != LegacySQLTypeName.RECORD && subFields.length != 0}
- * @see
+ * @see
* Data Types
*/
public Builder setType(LegacySQLTypeName type, Field... subFields) {
@@ -122,7 +122,7 @@ public Builder setType(LegacySQLTypeName type, Field... subFields) {
* @throws IllegalArgumentException
* if {@code type == LegacySQLTypeName.RECORD && (subFields == null || subFields.isEmpty())}
* or if {@code type != LegacySQLTypeName.RECORD && subFields != null}
- * @see
+ * @see
* Data Types
*/
From 78dc4ced0b2e80e8309ee88f5fa4f9ba45afc10a Mon Sep 17 00:00:00 2001
From: romlogic <45241349+romlogic@users.noreply.github.com>
Date: Mon, 7 Jan 2019 12:40:44 -0600
Subject: [PATCH 2/3] updated link
---
.../java/com/google/cloud/bigquery/Field.java | 28 +++----------------
1 file changed, 4 insertions(+), 24 deletions(-)
diff --git a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java
index 29eaa2565447..753836264a7a 100644
--- a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java
+++ b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java
@@ -100,23 +100,13 @@ public Builder setName(String name) {
* Sets the type of the field.
*
* @param type BigQuery data type
-Field
- * @param subFields nested schema fields in case if {@code type} is
- * {@link LegacySQLTypeName#RECORD}, empty otherwise
- * @throws IllegalArgumentException
- * if {@code type == LegacySQLTypeName.RECORD && subFields.length == 0}
- * or if {@code type != LegacySQLTypeName.RECORD && subFields.length != 0}
- * @see
- * Data Types
-
* @param subFields nested schema fields in case if {@code type} is {@link
* LegacySQLTypeName#RECORD}, empty otherwise
* @throws IllegalArgumentException if {@code type == LegacySQLTypeName.RECORD &&
* subFields.length == 0} or if {@code type != LegacySQLTypeName.RECORD && subFields.length
* != 0}
- * @see Data
+ * @see Data
* Types
-master
*/
public Builder setType(LegacySQLTypeName type, Field... subFields) {
return setType(type, subFields.length > 0 ? FieldList.of(subFields) : null);
@@ -126,23 +116,13 @@ public Builder setType(LegacySQLTypeName type, Field... subFields) {
* Sets the type of the field.
*
* @param type BigQuery data type
-Field
- * @param subFields nested schema fields, in case if {@code type} is
- * {@link LegacySQLTypeName#RECORD}, {@code null} otherwise.
- * @throws IllegalArgumentException
- * if {@code type == LegacySQLTypeName.RECORD && (subFields == null || subFields.isEmpty())}
- * or if {@code type != LegacySQLTypeName.RECORD && subFields != null}
- * @see
- * Data Types
-
* @param subFields nested schema fields, in case if {@code type} is {@link
* LegacySQLTypeName#RECORD}, {@code null} otherwise.
* @throws IllegalArgumentException if {@code type == LegacySQLTypeName.RECORD && (subFields ==
* null || subFields.isEmpty())} or if {@code type != LegacySQLTypeName.RECORD && subFields
* != null}
- * @see Data
+ * @see Data
* Types
-master
*/
public Builder setType(LegacySQLTypeName type, FieldList subFields) {
if (type == LegacySQLTypeName.RECORD) {
@@ -195,7 +175,7 @@ public String getName() {
/**
* Returns the field type.
*
- * @see Data
+ * @see Data
* Types
*/
public LegacySQLTypeName getType() {
@@ -298,4 +278,4 @@ static Field fromPb(TableFieldSchema fieldSchemaPb) {
fieldBuilder.setType(LegacySQLTypeName.valueOf(fieldSchemaPb.getType()), subFields);
return fieldBuilder.build();
}
-}
+}
\ No newline at end of file
From 7db0e5793ba0dc2279cc35a3ee62e1a8febdeaaf Mon Sep 17 00:00:00 2001
From: romlogic <45241349+romlogic@users.noreply.github.com>
Date: Mon, 7 Jan 2019 15:11:10 -0600
Subject: [PATCH 3/3] added new line
---
.../src/main/java/com/google/cloud/bigquery/Field.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java
index 753836264a7a..72b84a93ae31 100644
--- a/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java
+++ b/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java
@@ -278,4 +278,4 @@ static Field fromPb(TableFieldSchema fieldSchemaPb) {
fieldBuilder.setType(LegacySQLTypeName.valueOf(fieldSchemaPb.getType()), subFields);
return fieldBuilder.build();
}
-}
\ No newline at end of file
+}