Ooops. Ensure MetaData.origins is set

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2174 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Jan Bartel 2010-07-26 08:56:32 +00:00
parent 30996d5446
commit badbe6d252
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ public class MetaData
public enum Origin {NotSet, WebXml, WebDefaults, WebOverride, WebFragment, Annotation};
protected Map<String, OriginInfo> _origins;
protected Map<String, OriginInfo> _origins =new HashMap<String,OriginInfo>();
protected Descriptor _webDefaultsRoot;
protected Descriptor _webXmlRoot;
protected Descriptor _webOverrideRoot;
@ -260,7 +260,7 @@ public class MetaData
throws Exception
{
//Ensure origins is fresh
_origins = new HashMap<String,OriginInfo>();
_origins.clear();
// Set the ordered lib attribute
List<String> orderedLibs = new ArrayList<String>();