Skip to content

Commit

Permalink
chore(lint): spotless apply (#10779)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker committed Jun 25, 2024
1 parent 5735d9e commit e1f85d7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import lombok.Getter;
import lombok.ToString;


@Builder
@Getter
@ToString
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ public static Optional<DatasetUrn> convertOpenlineageDatasetToDatasetUrn(
String namespace = dataset.getNamespace();
String datasetName = dataset.getName();
Optional<DatasetUrn> datahubUrn;
if (dataset.getFacets() != null && dataset.getFacets().getSymlinks() != null && !mappingConfig.isDisableSymlinkResolution()) {
if (dataset.getFacets() != null
&& dataset.getFacets().getSymlinks() != null
&& !mappingConfig.isDisableSymlinkResolution()) {
Optional<DatasetUrn> originalUrn =
getDatasetUrnFromOlDataset(namespace, datasetName, mappingConfig);
for (OpenLineage.SymlinksDatasetFacetIdentifiers symlink :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,9 @@ public static boolean isDisableSymlinkResolution(Config datahubConfig) {
if (!datahubConfig.hasPath(DISABLE_SYMLINK_RESOLUTION)) {
return false;
}
return datahubConfig.hasPath(DISABLE_SYMLINK_RESOLUTION) && datahubConfig.getBoolean(DISABLE_SYMLINK_RESOLUTION);
}
return datahubConfig.hasPath(DISABLE_SYMLINK_RESOLUTION)
&& datahubConfig.getBoolean(DISABLE_SYMLINK_RESOLUTION);
}

public static boolean isEmitCoalescePeriodically(Config datahubConfig) {
if (!datahubConfig.hasPath(STAGE_METADATA_COALESCING)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,6 @@ public void testProcessGlueOlEvent() throws URISyntaxException, IOException {
}
}


public void testProcessGlueOlEventSymlinkDisabled() throws URISyntaxException, IOException {
DatahubOpenlineageConfig.DatahubOpenlineageConfigBuilder builder =
DatahubOpenlineageConfig.builder();
Expand Down

0 comments on commit e1f85d7

Please sign in to comment.