@@ -110,7 +110,7 @@ public static int executeCommandLine( Commandline cl, InputStream systemIn, Stre
110
110
111
111
/**
112
112
* Immediately forks a process, returns a callable that will block until process is complete.
113
- *
113
+ *
114
114
* @param cl The command line to execute
115
115
* @param systemIn The input to read from, must be thread safe
116
116
* @param systemOut A consumer that receives output, must be thread safe
@@ -354,12 +354,10 @@ private static void handleException( final StreamFeeder streamFeeder, final Stri
354
354
* with case-insensitive environment variables like Windows, all variable names will be normalized to upper case.
355
355
*
356
356
* @return The shell environment variables, can be empty but never <code>null</code>.
357
- * @throws IOException If the environment variables could not be queried from the shell.
358
357
* @see System#getenv() System.getenv() API, new in JDK 5.0, to get the same result <b>since 2.0.2 System#getenv()
359
358
* will be used if available in the current running jvm.</b>
360
359
*/
361
360
public static Properties getSystemEnvVars ()
362
- throws IOException
363
361
{
364
362
return getSystemEnvVars ( !Os .isFamily ( Os .FAMILY_WINDOWS ) );
365
363
}
@@ -370,12 +368,10 @@ public static Properties getSystemEnvVars()
370
368
*
371
369
* @param caseSensitive Whether environment variable keys should be treated case-sensitively.
372
370
* @return Properties object of (possibly modified) envar keys mapped to their values.
373
- * @throws IOException .
374
371
* @see System#getenv() System.getenv() API, new in JDK 5.0, to get the same result <b>since 2.0.2 System#getenv()
375
372
* will be used if available in the current running jvm.</b>
376
373
*/
377
374
public static Properties getSystemEnvVars ( boolean caseSensitive )
378
- throws IOException
379
375
{
380
376
Properties envVars = new Properties ();
381
377
Map <String , String > envs = System .getenv ();
0 commit comments