Skip to content

Commit

Permalink
Fix lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrbradley committed Dec 11, 2024
1 parent 271061d commit 6c1c330
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/codegen/java/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
)

// This should be bumped as required at the point of release.
var DEFAULT_SDK_VERSION = semver.Version{Major: 0, Minor: 18, Patch: 0}
var DefaultSdkVersion = semver.Version{Major: 0, Minor: 18, Patch: 0}

func packageName(packages map[string]string, name string) string {
if pkg, ok := packages[name]; ok {
Expand Down Expand Up @@ -2045,7 +2045,7 @@ func generateModuleContextMap(tool string, pkg *schema.Package) (map[string]*mod
}
javaInfo = javaInfo.
WithDefaultDependencies().
WithJavaSdkDependencyDefault(DEFAULT_SDK_VERSION)
WithJavaSdkDependencyDefault(DefaultSdkVersion)
info = &javaInfo
infos[def] = info
}
Expand Down

0 comments on commit 6c1c330

Please sign in to comment.