Bug 252487 [DataBinding] use Double.isNaN(d) instead of d!=d to check for NaN
There are two warnings in StringToNumberParser related to the fact that we use "doubleValue == doubleValue" to determine whether the value is NaN (suprisingly, NaN is never == NaN, even if it is the same variable). We should be using Double.isNaN(doubleValue) instead.
bundles/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/StringToNumberParser.java
/*******************************************************************************
 * Copyright (c) 2007, 2008 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.core.internal.databinding.conversion;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.text.ParsePosition;
import org.eclipse.core.internal.databinding.BindingMessages;
import com.ibm.icu.text.NumberFormat;
/**
 * Utility class for the parsing of strings to numbers.
 *
 * @since 1.0
 */
public class StringToNumberParser {