question: public static File locateReplicatorHomeDir ( ) { if ( replicatorHomeDir == null ) { String replicatorHome = System . getProperty ( HOME_DIR ) ; if ( replicatorHome == null ) replicatorHome = System . getProperty ( "user.dir" ) ; replicatorHomeDir = new File ( replicatorHome ) ; if ( ! replicatorHomeDir . isDirectory ( ) ) { throw new ServerRuntimeException ( "Replicator home does not exist or is invalid: " + replicatorHomeDir ) ; } } return replicatorHomeDir ; }
target:  Find and return the replicator home directory.