public Map<String,String> environment(){
  String base64=toStringBase64();
  if (base64 == null || base64.length() == 0) {
    return Collections.emptyMap();
  }
  Map<String,String> environment=Maps.newHashMap();
  environment.put(BaggageUtils.BAGGAGE_ENVIRONMENT_VARIABLE,base64);
  return environment;
}

public Map < String , String > environment ( ) { String base64 = toStringBase64 ( ) ; if ( base64 == null || base64 . length ( ) == 0 ) { return Collections . emptyMap ( ) ; } Map < String , String > environment = Maps . newHashMap ( ) ; environment . put ( BaggageUtils . BAGGAGE_ENVIRONMENT_VARIABLE , base64 ) ; return environment ; }
encodes the baggage to strings to set as environment variables , which will then be picked up in a child process
