mirror of https://github.com/apache/maven.git
o Marked potential performance problem
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@757900 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
22562724da
commit
f5c0ef6ecc
|
@ -334,6 +334,10 @@ public class MavenProject
|
|||
{
|
||||
if ( parent == null )
|
||||
{
|
||||
/*
|
||||
* TODO: This is suboptimal. Without a cache in the project builder, rebuilding the parent chain currently
|
||||
* causes O(n^2) parser invocations for an inheritance hierarchy of depth n.
|
||||
*/
|
||||
if ( parentFile != null )
|
||||
{
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue