-
Notifications
You must be signed in to change notification settings - Fork 178
Open
Labels
enhancementNew feature or requestNew feature or request
Description
New feature, improvement proposal
Currently the org.apache.maven.scm.command.Command
interface does not leverage generics which leads to the fact that its execute methods just returns the generic ScmResult
instead of the command specific result classes. This requires some casting in the code (e.g. in
Line 170 in 6fc20f7
return (BranchScmResult) executeCommand(getBranchCommand(), repository, fileSet, parameters); |
execute
method should allow to for more type-safe programming.Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request