Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 97367
Collapse All | Expand All

(-)AssemblyInformation.java (-1 / +3 lines)
Lines 122-132 Link Here
122
		// the features that are contained into this config
122
		// the features that are contained into this config
123
		private ArrayList features = new ArrayList(7);
123
		private ArrayList features = new ArrayList(7);
124
		// indicate whether root files needs to be copied and where they are coming from
124
		// indicate whether root files needs to be copied and where they are coming from
125
		private Collection rootFileProviders = new HashSet(7);
125
		private LinkedList rootFileProviders = new LinkedList();
126
126
127
		public void addRootFileProvider(IFeature feature) {
127
		public void addRootFileProvider(IFeature feature) {
128
			for (Iterator iter = rootFileProviders.iterator(); iter.hasNext();) {
128
			for (Iterator iter = rootFileProviders.iterator(); iter.hasNext();) {
129
				BuildTimeFeature featureDescriptor = (BuildTimeFeature) iter.next();
129
				BuildTimeFeature featureDescriptor = (BuildTimeFeature) iter.next();
130
				if (feature == featureDescriptor)
131
					return;
130
				if (((BuildTimeFeature) feature).getFeatureIdentifier().equals(featureDescriptor.getFeatureIdentifier()) && ((BuildTimeFeature) feature).getFeatureVersion().equals(featureDescriptor.getFeatureVersion()))
132
				if (((BuildTimeFeature) feature).getFeatureIdentifier().equals(featureDescriptor.getFeatureIdentifier()) && ((BuildTimeFeature) feature).getFeatureVersion().equals(featureDescriptor.getFeatureVersion()))
131
					return;
133
					return;
132
			}
134
			}

Return to bug 97367