public void setGitService ( GitService git ) { if ( git != null ) { logger . debug ( "Setting git service" ) ; this . git = git ; latch . countDown ( ) ; } }
Sets the common reference an releases any threads waiting for the reference to be set .