task3/solution02/src/org/apidesign/apifest08/currency/ConvertorFactory.java
changeset 56 a3144e7f9c90
parent 45 251d0ed461fb
     1.1 --- a/task3/solution02/src/org/apidesign/apifest08/currency/ConvertorFactory.java	Tue Oct 07 11:05:34 2008 +0200
     1.2 +++ b/task3/solution02/src/org/apidesign/apifest08/currency/ConvertorFactory.java	Fri Oct 10 22:07:25 2008 +0200
     1.3 @@ -17,7 +17,7 @@
     1.4  	 * Creates {@link Convertor} that converts from sourceEquivalent.currency to destinationEquivalent.currency. 
     1.5  	 * Exchange rate is set as equivalents. It means if you want to create USD to CZK convertor where USD1 = CZK17 
     1.6       * call createConvertor(new MoneyImpl(1, USD), new MoneyImpl(17, CZK)). Convertor created by this method 
     1.7 -     * rounds the result to two decimal places.
     1.8 +     * rounds the result to two decimal places. Convertor created by this method is thread safe.
     1.9  	 * @param sourceEquivalent
    1.10  	 * @param destinationEquivalent
    1.11  	 * @return
    1.12 @@ -33,7 +33,7 @@
    1.13  	/**
    1.14  	 * Merges convertors. The resulting convertor has ability to do all conversions that its underlying 
    1.15  	 * convertors could do. No consistency validation is done, inconsistent input will result in a convertor with
    1.16 -	 * inconsistent behavior.
    1.17 +	 * inconsistent behavior. Convertor created by this method is thread safe.
    1.18  	 * @param convertors
    1.19  	 * @return
    1.20  	 */