Skip to content

Commit b6c0817

Browse files
committed
1 parent e26ca10 commit b6c0817

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
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

1717
import java.io.Serializable;
1818
import 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;

digital-currency/bitcoin/src/test/java/org/javamoney/shelter/bitcoin/provider/MtGoxV2ConversionDemo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import org.javamoney.convert.ExchangeRate;
2121
import org.javamoney.moneta.MoneyCurrency;
22+
import org.javamoney.shelter.bitcoin.BTCCurrency;
2223

2324

2425
/**
@@ -28,7 +29,6 @@
2829
public 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();

0 commit comments

Comments
 (0)