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 419999
Collapse All | Expand All

(-)a/plugins/org.eclipse.wst.validation.ui/vf2/org/eclipse/wst/validation/ui/internal/preferences/ValidationPreferencePage.java (-1 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2001, 2009 IBM Corporation and others.
2
 * Copyright (c) 2001, 2013 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 508-513 Link Here
508
			IStructuredSelection selection = (IStructuredSelection) _validatorList.getSelection();
508
			IStructuredSelection selection = (IStructuredSelection) _validatorList.getSelection();
509
			ValidatorMutable val = (ValidatorMutable) selection.getFirstElement();
509
			ValidatorMutable val = (ValidatorMutable) selection.getFirstElement();
510
510
511
			// In Mac OS, val can be null (see bugs 397349 and 412826)
512
			if (val == null) return;
513
			
511
			switch (columnToEdit) {
514
			switch (columnToEdit) {
512
			case 1:
515
			case 1:
513
				_changeCount++;
516
				_changeCount++;
(-)a/plugins/org.eclipse.wst.validation.ui/vf2/org/eclipse/wst/validation/ui/internal/preferences/ValidationPropertyPage.java (-1 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2001, 2009 IBM Corporation and others.
2
 * Copyright (c) 2001, 2013 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 568-573 Link Here
568
		protected void columnClicked(int columnToEdit) {
568
		protected void columnClicked(int columnToEdit) {
569
			IStructuredSelection selection = (IStructuredSelection) _validatorList.getSelection();
569
			IStructuredSelection selection = (IStructuredSelection) _validatorList.getSelection();
570
			ValidatorMutable val = (ValidatorMutable) selection.getFirstElement();
570
			ValidatorMutable val = (ValidatorMutable) selection.getFirstElement();
571
			
572
			// In Mac OS, val can be null (see bugs 397349 and 412826)
573
			if (val == null) return;
571
574
572
			switch (columnToEdit) {
575
			switch (columnToEdit) {
573
			case 1:
576
			case 1:

Return to bug 419999