View | Details | Raw Unified | Return to bug 262151 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/wst/sse/ui/internal/reconcile/validator/ValidatorStrategy.java (-9 / +3 lines)
Lines 209-223 Link Here
209
			if (disabledValidators != null) {
209
			if (disabledValidators != null) {
210
				for (Iterator it = disabledValidators.iterator(); it.hasNext();) {
210
				for (Iterator it = disabledValidators.iterator(); it.hasNext();) {
211
					Validator v = (Validator) it.next();
211
					Validator v = (Validator) it.next();
212
					IValidator iv = null;
213
					try {
214
						iv = v.asIValidator();
215
					}
216
					catch (Exception e) {
217
						Logger.logException(e);
218
					}
219
					if (iv != null && v.getSourceId() != null)
220
						disabledValsBySourceId.add(v.getSourceId());
221
					Validator.V1 v1 = null;
212
					Validator.V1 v1 = null;
222
					try {
213
					try {
223
						v1 = v.asV1Validator();
214
						v1 = v.asV1Validator();
Lines 227-232 Link Here
227
					}
218
					}
228
					if (v1 != null)
219
					if (v1 != null)
229
						disabledValsByClass.add(v1.getId());
220
						disabledValsByClass.add(v1.getId());
221
					// not a V1 validator
222
					else if (v.getSourceId() != null)
223
						disabledValsBySourceId.add(v.getSourceId());
230
				}
224
				}
231
			}
225
			}
232
		}
226
		}

Return to bug 262151