for (IMetaTag part : parts)
{
IDefinition definition = part.getDecoratedDefinition();
if (!definition.getNamespaceReference().equals(NamespaceDefinition.getPublicNamespaceDefinition()))
{
ICompilerProblem problem = new SkinPartsMustBePublicProblem(definition);
problems.add(problem);
}
}
// Let the first thread that builds the array atomically set it.