You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The constructor of MavenAccessor takes as argument an object of class PepperOSGiConnector.
This makes it hard to inherit from MavenAccessor in contexts where other than the default PepperConnector is used. I.e., when inheriting from MavenAccessor you'd still have to call super({Object of class extending PepperConnector}), which can result in an NPE at MavenAccessor, line 207.
One solution could be to create an abstract class AbstractMavenAccessor, which takes PepperConnector as an argument.
The text was updated successfully, but these errors were encountered:
The constructor of
MavenAccessor
takes as argument an object of classPepperOSGiConnector
.This makes it hard to inherit from
MavenAccessor
in contexts where other than the defaultPepperConnector
is used. I.e., when inheriting fromMavenAccessor
you'd still have to callsuper({Object of class extending PepperConnector})
, which can result in an NPE atMavenAccessor
, line 207.One solution could be to create an abstract class
AbstractMavenAccessor
, which takesPepperConnector
as an argument.The text was updated successfully, but these errors were encountered: