Skip to content

Commit

Permalink
Updating access modifiers for utility methods (#28511)
Browse files Browse the repository at this point in the history
* Updating access modifiers for utility methods

* Revert "Updating access modifiers for utility methods"

This reverts commit 99eb926.

* Updating access modifiers for utility methods
  • Loading branch information
Dippatel98 authored Sep 19, 2023
1 parent 0f72792 commit 272da41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ public PCollection<Row> expand(PBegin input) {

// Spotbugs seems to not understand the multi-statement try-with-resources
@SuppressFBWarnings("OBL_UNSATISFIED_OBLIGATION")
private static Schema inferBeamSchema(DataSource ds, String query) {
public static Schema inferBeamSchema(DataSource ds, String query) {
try (Connection conn = ds.getConnection();
PreparedStatement statement =
conn.prepareStatement(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ private static ResultSetFieldExtractor createObjectExtractor() {
* A {@link org.apache.beam.sdk.io.jdbc.JdbcIO.RowMapper} implementation that converts JDBC
* results into Beam {@link Row} objects.
*/
static final class BeamRowMapper implements JdbcIO.RowMapper<Row> {
public static final class BeamRowMapper implements JdbcIO.RowMapper<Row> {
private final Schema schema;
private final List<ResultSetFieldExtractor> fieldExtractors;

Expand Down

0 comments on commit 272da41

Please sign in to comment.