Skip to content

Commit

Permalink
[Transform] Hide the fromVersion method of TransformConfigVersion
Browse files Browse the repository at this point in the history
This method wasn't used anywhere, but we don't want to allow
anyone to use it in the future.
  • Loading branch information
droberts195 committed Sep 28, 2023
1 parent a698f4d commit 9d96c71
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ public static TransformConfigVersion max(TransformConfigVersion version1, Transf
return version1.id > version2.id ? version1 : version2;
}

public static TransformConfigVersion fromVersion(Version version) {
// Visible only for testing
static TransformConfigVersion fromVersion(Version version) {
if (version.equals(Version.V_8_10_0)) {
return V_10;
}
Expand Down

0 comments on commit 9d96c71

Please sign in to comment.