Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Commit

Permalink
add check for toolchain key being null...
Browse files Browse the repository at this point in the history
  • Loading branch information
jdcasey committed Feb 3, 2014
1 parent c5c4cc9 commit 21089a0
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,16 @@ public String getDescription()
@Override
public boolean inject( final Project project, final VersionManagerSession session )
{
boolean changed = false;

if ( session.getToolchainKey() == null )
{
return changed;
}

final Model model = project.getModel();
final FullProjectKey toolchainKey = session.getToolchainKey();

boolean changed = false;
Parent parent = model.getParent();

if ( toolchainKey != null )
Expand Down

0 comments on commit 21089a0

Please sign in to comment.