Skip to content

[MSHARED-1041] Refactor: remove duplicate code, use addArg internally #142

@jira-importer

Description

@jira-importer

Slawomir Jaranowski opened MSHARED-1041 and commented

We can replace methods like:

public InvocationRequest setDebug( boolean debug )
{
      this.debug = debug;
      return this;
}

by

public InvocationRequest setDebug( boolean debug )
{
      if ( debug )
      {
        addArg( "-X" );
      }
      return this;
} 

and simplify MavenCommandLineBuilder


Issue Links:

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions