These nested if statements could be combined
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1405633 13f79535-47bb-0310-9956-ffa450edef68master
parent
96cb878188
commit
866e3c18f0
|
|
@ -668,12 +668,9 @@ public class PluginReport
|
|||
{
|
||||
jdk = discoverJdkRequirementFromPlugins( project.getBuild().getPluginsAsMap() );
|
||||
}
|
||||
if ( jdk == null )
|
||||
if ( jdk == null && project.getPluginManagement() != null )
|
||||
{
|
||||
if ( project.getPluginManagement() != null )
|
||||
{
|
||||
jdk = discoverJdkRequirementFromPlugins( project.getPluginManagement().getPluginsAsMap() );
|
||||
}
|
||||
}
|
||||
if ( jdk == null )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue