Skip to content

Commit

Permalink
Google Java Format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and doks5 committed Dec 14, 2023
1 parent 1257409 commit c2f0c28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,9 @@ private static void checkDeploymentsCanBeMerged(
}

private static void resetVdkVersionIfPythonVersionChange(
DesiredDataJobDeployment oldDeployment, DesiredDataJobDeployment newDeployment) {
if (newDeployment.getPythonVersion() != null && !oldDeployment.getPythonVersion().equals(newDeployment.getPythonVersion())) {
DesiredDataJobDeployment oldDeployment, DesiredDataJobDeployment newDeployment) {
if (newDeployment.getPythonVersion() != null
&& oldDeployment.getPythonVersion() != null && !oldDeployment.getPythonVersion().equals(newDeployment.getPythonVersion())) {
newDeployment.setVdkVersion(null);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,10 @@ private void setPythonVersionIfNull(JobDeployment oldDeployment, JobDeployment n
}
}

private void resetVdkVersionIfPythonVersionChange(JobDeployment oldDeployment, JobDeployment newDeployment) {
if (newDeployment.getPythonVersion() != null && !oldDeployment.getPythonVersion().equals(newDeployment.getPythonVersion())) {
private void resetVdkVersionIfPythonVersionChange(
JobDeployment oldDeployment, JobDeployment newDeployment) {
if (newDeployment.getPythonVersion() != null
&& oldDeployment.getPythonVersion() != null && !oldDeployment.getPythonVersion().equals(newDeployment.getPythonVersion())) {
newDeployment.setVdkVersion(null);
}
}
Expand Down

0 comments on commit c2f0c28

Please sign in to comment.