add old scala 2.7.x code to let me retire http://svn.sdstrowes.co.uk/pub/util/