unitsofmeasurement/unit-api — pull request #3 by otaviojava (2014-05-25 20:00:43+00:00)
Title: using valueOf  instead of new instance

using valueOf instead of new instance to save memory and get faster the process.