Skip to content

Commit fd7b354

Browse files
committed
fix spotless
Signed-off-by: Jeffrey Kinard <[email protected]>
1 parent 972d494 commit fd7b354

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

sdks/java/io/jdbc/src/main/java/org/apache/beam/sdk/io/jdbc/JdbcWriteSchemaTransformProvider.java

-4
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,6 @@ public abstract static class JdbcWriteSchemaTransformConfiguration implements Se
315315
@Nullable
316316
public abstract Long getBatchSize();
317317

318-
public void validate() throws IllegalArgumentException {
319-
if (Strings.isNullOrEmpty(getJdbcUrl())) {
320-
throw new IllegalArgumentException("JDBC URL cannot be blank");
321-
}
322318
@SchemaFieldDescription(
323319
"Type of JDBC source. When specified, an appropriate default Driver will be packaged with the transform. One of mysql, postgres, oracle, or mssql.")
324320
@Nullable
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/** Transforms for reading and writing from JDBC. */
20+
package org.apache.beam.sdk.io.jdbc.providers;

0 commit comments

Comments
 (0)