package org.javamoney.moneta.internal.convert.yahoo;

import javax.money.convert.ConversionContext;
import javax.money.convert.ProviderContext;
import javax.money.convert.ProviderContextBuilder;
import javax.money.convert.RateType;

public class YahooRateProvider extends YahooAbstractRateProvider {

	public static final String PROVIDER = "YHOO";

	/**
	 * The data id used for the LoaderService.
	 */
	private static final String DATA_ID = YahooRateProvider.class
			.getSimpleName();
	/**
	 * The {@link ConversionContext} of this provider.
	 */
	private static final ProviderContext CONTEXT = ProviderContextBuilder
			.of(PROVIDER, RateType.DEFERRED)
			.set("providerDescription", "Yahoo currency rates").set("days", 1)
			.build();

	public YahooRateProvider() {
		super(CONTEXT);
	}

	@Override
	protected String getDataId() {
		return DATA_ID;
	}

}
@@ -51,54 +51,8 @@
 o;%0A%0A
-import javax.money.convert.ConversionContext;%0A
 impo
@@ -91,16 +91,16 @@
 ontext;%0A
+
 import j
@@ -300,62 +300,9 @@
 %22;%0A%0A
-%09/**%0A%09 * The data id used for the LoaderService.%0A%09 */
 %0A
+
 %09pri
@@ -385,69 +385,8 @@
 ();%0A
-%09/**%0A%09 * The %7B@link ConversionContext%7D of this provider.%0A%09 */
 %0A%09pr

Refactor Yahoo provider