public Version getVersion ( String rawVersion ) { Version version = this . versions . get ( rawVersion ) ; if ( version == null ) { version = new DefaultVersion ( rawVersion ) ; this . versions . put ( rawVersion , version ) ; } return version ; }
Store and return a weak reference equals to the passed version .