Skip to content

Commit da8ff99

Browse files
committed
Removed static references to SPI instances.
In a dynamic environment such as OSGI, SPI instances are registered dynamically. The classes Monetary, MonetaryConversions and MonetaryFormats keep static references to SPI instances. This breaks usage of money-api in OSGI as SPI instances may be registered delayed. To ensure that using money-api is in an OSGI environment is possible, references to SPI instances should be resolved dynamically.
1 parent 1176507 commit da8ff99

File tree

3 files changed

+91
-120
lines changed

3 files changed

+91
-120
lines changed

0 commit comments

Comments
 (0)