Skip to content

Commit

Permalink
changed SolutionPossibility's field
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Aug 21, 2023
1 parent d8dfe2e commit e6c4359
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
)

type SolutionPossibility struct {
Solutions []int `json:"solutions"`
Match float32 `json:"match"`
ErrorDesc *ErrorDesc `json:"error_desc"`
Match float32 `json:"match"`
}

var (
Expand All @@ -29,7 +29,7 @@ func (a *Analyzer)DoError(jerr *JavaError)(matched []SolutionPossibility, err er
epkg, ecls := rsplit(jerr.Class, '.')
a.DB.ForEachErrors(func(e *ErrorDesc)(err error){
sol := SolutionPossibility{
Solutions: e.Solutions,
ErrorDesc: e,
}
epkg2, ecls2 := rsplit(e.Error, '.')
ignoreErrorTyp := len(ecls2) == 0 || ecls2 == "*"
Expand Down

0 comments on commit e6c4359

Please sign in to comment.