Skip to content

Commit a1177d6

Browse files
authored
Reformat code (#365)
Reformat code to make it pass the spotless check.
1 parent 0a2bd54 commit a1177d6

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

dumper/lib-ext-hive-metastore/src/main/java/com/google/edwmigration/dumper/ext/hive/metastore/HiveMetastoreThriftClient_Superset.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,23 +240,25 @@ public Boolean isCompressed() {
240240

241241
@CheckForNull
242242
@Override
243-
public String getSerializationLib(){
244-
return (table.isSetSd() && table.getSd().isSetSerdeInfo() && table.getSd().getSerdeInfo().isSetSerializationLib()
243+
public String getSerializationLib() {
244+
return (table.isSetSd()
245+
&& table.getSd().isSetSerdeInfo()
246+
&& table.getSd().getSerdeInfo().isSetSerializationLib()
245247
? table.getSd().getSerdeInfo().getSerializationLib()
246248
: null);
247249
}
248250

249251
@CheckForNull
250252
@Override
251-
public String getInputFormat(){
253+
public String getInputFormat() {
252254
return (table.isSetSd() && table.getSd().isSetInputFormat()
253255
? table.getSd().getInputFormat()
254256
: null);
255257
}
256258

257259
@CheckForNull
258260
@Override
259-
public String getOutputFormat(){
261+
public String getOutputFormat() {
260262
return (table.isSetSd() && table.getSd().isSetOutputFormat()
261263
? table.getSd().getOutputFormat()
262264
: null);

dumper/lib-ext-hive-metastore/src/main/java/com/google/edwmigration/dumper/ext/hive/metastore/HiveMetastoreThriftClient_v2_3_6.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,29 +239,30 @@ public Boolean isCompressed() {
239239

240240
@CheckForNull
241241
@Override
242-
public String getSerializationLib(){
243-
return (table.isSetSd() && table.getSd().isSetSerdeInfo() && table.getSd().getSerdeInfo().isSetSerializationLib()
242+
public String getSerializationLib() {
243+
return (table.isSetSd()
244+
&& table.getSd().isSetSerdeInfo()
245+
&& table.getSd().getSerdeInfo().isSetSerializationLib()
244246
? table.getSd().getSerdeInfo().getSerializationLib()
245247
: null);
246248
}
247249

248250
@CheckForNull
249251
@Override
250-
public String getInputFormat(){
252+
public String getInputFormat() {
251253
return (table.isSetSd() && table.getSd().isSetInputFormat()
252254
? table.getSd().getInputFormat()
253255
: null);
254256
}
255257

256258
@CheckForNull
257259
@Override
258-
public String getOutputFormat(){
260+
public String getOutputFormat() {
259261
return (table.isSetSd() && table.getSd().isSetOutputFormat()
260262
? table.getSd().getOutputFormat()
261263
: null);
262264
}
263265

264-
265266
@Nonnull
266267
@Override
267268
public List<? extends Field> getFields() throws Exception {

0 commit comments

Comments
 (0)