Skip to content

Commit

Permalink
Remove useless lines in main
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Rasquier committed Dec 15, 2017
1 parent 13ab973 commit 80354aa
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,12 @@ func main() {
}

reader.Accept(&helper.ClassVisitor{
OnVisit: func(version, access int, name, signature, superName string, interfaces []string) {
},
OnVisitField: func(access int, name, descriptor, signature string, value interface{}) asm.FieldVisitor {
return nil
},
OnVisitMethod: func(access int, name, descriptor, signature string, exceptions []string) asm.MethodVisitor {
return &helper.MethodVisitor{
OnVisitLineNumber: func(line int, start *asm.Label) {
fmt.Println(line)
fmt.Println(name, line)
},
}
},
OnVisitEnd: func() {
},
}, 0)
}

0 comments on commit 80354aa

Please sign in to comment.