File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
digital-currency/bitcoin/src
main/java/org/javamoney/shelter/bitcoin
test/java/org/javamoney/shelter/bitcoin/provider Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1212 * See the License for the specific language governing permissions and
1313 * limitations under the License.
1414 */
15- package org .javamoney .shelter .bitcoin . provider ;
15+ package org .javamoney .shelter .bitcoin ;
1616
1717import java .io .Serializable ;
1818import java .util .Currency ;
@@ -131,6 +131,7 @@ public boolean isVirtual() {
131131
132132 /**
133133 * Get the namespace of this {@link CurrencyUnit}.
134+ * @deprecated namespace not commonly used across implementations, likely removed soon.
134135 */
135136 public String getNamespace () {
136137 return namespace ;
Original file line number Diff line number Diff line change 1919
2020import org .javamoney .convert .ExchangeRate ;
2121import org .javamoney .moneta .MoneyCurrency ;
22+ import org .javamoney .shelter .bitcoin .BTCCurrency ;
2223
2324
2425/**
2829public class MtGoxV2ConversionDemo {
2930 public static void main (String ... arg ) throws MonetaryException {
3031 CurrencyUnit btc = BTCCurrency .of ();
31- CurrencyUnit btc2 = MoneyCurrency .of ("BTC" );
3232 System .out .println ("Currency: " + btc );
3333 //MtGoxV2ConversionProvider provider = new MtGoxV2ConversionProvider("USD");
3434 MtGoxV2ConversionProvider provider = new MtGoxV2ConversionProvider ();
You can’t perform that action at this time.
0 commit comments