public static void restorePreviousOutAndErrStream(){
  if (!alreadyMuted) {
    return;
  }
  System.setOut(latestOut);
  System.setErr(latestErr);
  alreadyMuted=false;
}

public static void restorePreviousOutAndErrStream ( ) { if ( ! alreadyMuted ) { return ; } System . setOut ( latestOut ) ; System . setErr ( latestErr ) ; alreadyMuted = false ; }
allow again printing to previous streams that were muted
