-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pass
SourceCodeLocation
on to construct Dependency
At the moment the line number is passed to the `Dependency`, then it constructs a `SourceCodeLocation` from the `originClass` and the `lineNumber`. In all cases we have a `SourceCodeLocation` outside already though. And the `SourceCodeLocation` constructed in the constructor of `Dependency` will just create an equivalent `SourceCodeLocation` to what we already have when calling the constructor. We can thus just pass on the `SourceCodeLocation` from the outside. Signed-off-by: Peter Gafert <[email protected]>
- Loading branch information
1 parent
d4a8233
commit ef726a4
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters