diff --git a/maven-repository-metadata/src/main/mdo/metadata.mdo b/maven-repository-metadata/src/main/mdo/metadata.mdo index aa7db3a2bc..24e0469921 100644 --- a/maven-repository-metadata/src/main/mdo/metadata.mdo +++ b/maven-repository-metadata/src/main/mdo/metadata.mdo @@ -100,7 +100,7 @@ under the License. for ( Plugin preExisting : getPlugins() ) { - if ( preExisting.getPrefix().equals( plugin.getPrefix() ) ) + if ( java.util.Objects.equals( preExisting.getPrefix(), plugin.getPrefix() ) ) { found = true; break;