Skip to content

Commit

Permalink
Minor lint fix on variable casing (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
TristonianJones authored May 2, 2023
1 parent 8567af1 commit 0e0af4a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions interpreter/attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,11 @@ type absoluteAttribute struct {

// ID implements the Attribute interface method.
func (a *absoluteAttribute) ID() int64 {
qual_count := len(a.qualifiers)
if qual_count == 0 {
qualCount := len(a.qualifiers)
if qualCount == 0 {
return a.id
}
return a.qualifiers[qual_count-1].ID()
return a.qualifiers[qualCount-1].ID()
}

// IsOptional returns trivially false for an attribute as the attribute represents a fully
Expand Down Expand Up @@ -513,11 +513,11 @@ type relativeAttribute struct {

// ID is an implementation of the Attribute interface method.
func (a *relativeAttribute) ID() int64 {
qual_count := len(a.qualifiers)
if qual_count == 0 {
qualCount := len(a.qualifiers)
if qualCount == 0 {
return a.id
}
return a.qualifiers[qual_count-1].ID()
return a.qualifiers[qualCount-1].ID()
}

// IsOptional returns trivially false for an attribute as the attribute represents a fully
Expand Down

0 comments on commit 0e0af4a

Please sign in to comment.