CPD Report

=====================================================================
Found a 9 line (64 tokens) duplication in the following files: 
Starting at line 560 of C:\eclipse-3.0\eclipse\workspace\openedge-baritus\src\java\nl\openedge\baritus\ConverterRegistry.java
Starting at line 574 of C:\eclipse-3.0\eclipse\workspace\openedge-baritus\src\java\nl\openedge\baritus\ConverterRegistry.java
			((locale.getLanguage() != null) ? locale.getLanguage() : "_") + "|" +
			((locale.getVariant() != null) ? locale.getVariant() : "_");
	}
	
	/*
	 * get key for localized formatters
	 * @param key key
	 * @return String key
	 */
=====================================================================
Found a 15 line (58 tokens) duplication in the following files: 
Starting at line 558 of C:\eclipse-3.0\eclipse\workspace\openedge-baritus\src\java\nl\openedge\baritus\FormBeanCtrlBase.java
Starting at line 632 of C:\eclipse-3.0\eclipse\workspace\openedge-baritus\src\java\nl\openedge\baritus\FormBeanCtrlBase.java
			}
			catch (Exception e)
			{
				populationLog.error(e);
				if (populationLog.isDebugEnabled())
				{
					populationLog.error(e.getMessage(), e);
				}
				continue;
			}
			if (!success)
			{
				succeeded = false;
			}
		}
=====================================================================
Found a 27 line (55 tokens) duplication in the following files: 
Starting at line 93 of C:\eclipse-3.0\eclipse\workspace\openedge-baritus\src\java\nl\openedge\baritus\converters\LongLocaleConverter.java
Starting at line 93 of C:\eclipse-3.0\eclipse\workspace\openedge-baritus\src\java\nl\openedge\baritus\converters\DoubleLocaleConverter.java
		String pattern,
		boolean locPattern)
	{

		super(locale, pattern, locPattern);
	}

	/**
	 * Convert the specified locale-sensitive input object into an output object of the
	 * specified type.
	 *
	 * @param type Data type to which this value should be converted
	 * @param value The input object to be converted
	 * @param pattern The pattern is used for the convertion
	 *
	 * @exception ConversionException if conversion cannot be performed
	 *  successfully
	 */
	public Object convert(Class type, Object value, String pattern)
	{
		if (value == null)
		{
			return null;
		}
		
		Number temp = getNumber(value, pattern);
		
=====================================================================
Found a 6 line (50 tokens) duplication in the following files: 
Starting at line 148 of C:\eclipse-3.0\eclipse\workspace\openedge-baritus\src\java\nl\openedge\baritus\util\ValueUtils.java
Starting at line 132 of C:\eclipse-3.0\eclipse\workspace\openedge-baritus\src\java\nl\openedge\baritus\util\ValueUtils.java
					Object converted = converter.convert(String.class, value);
					return (converted instanceof String) ? 
						(String)converted : String.valueOf(converted);
				}
				catch (Exception e)
				{
=====================================================================
Found a 22 line (50 tokens) duplication in the following files: 
Starting at line 97 of C:\eclipse-3.0\eclipse\workspace\openedge-baritus\src\java\nl\openedge\baritus\converters\ByteLocaleConverter.java
Starting at line 92 of C:\eclipse-3.0\eclipse\workspace\openedge-baritus\src\java\nl\openedge\baritus\converters\FloatLocaleConverter.java
		Locale locale,
		String pattern,
		boolean locPattern)
	{
		super(locale, pattern, locPattern);
	}


	/**
	 * Convert the specified locale-sensitive input object into an output object of the
	 * specified type.  This method will return Float value or throw exception if value
	 * can not be stored in the Float.
	 *
	 * @param value The input object to be converted
	 * @param pattern The pattern is used for the convertion
	 *
	 * @exception ConversionException if conversion cannot be performed
	 *  successfully
	 */
	protected Object parse(Object value, String pattern) throws ParseException
	{
		final Number parsed = (Number) super.parse(value, pattern);