From 7abc88f2ec52f59dc68f189c54c9c855bed941ca Mon Sep 17 00:00:00 2001 From: dmccoystephenson Date: Thu, 19 Sep 2024 15:51:58 -0600 Subject: [PATCH] Removed unnecessary declaration from `getEnvironmentVariable()` method in `AwsDepositor` class --- .../java/us/dot/its/jpo/ode/aws/depositor/AwsDepositor.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/us/dot/its/jpo/ode/aws/depositor/AwsDepositor.java b/src/main/java/us/dot/its/jpo/ode/aws/depositor/AwsDepositor.java index 0e98b02..722f338 100644 --- a/src/main/java/us/dot/its/jpo/ode/aws/depositor/AwsDepositor.java +++ b/src/main/java/us/dot/its/jpo/ode/aws/depositor/AwsDepositor.java @@ -405,8 +405,6 @@ JSONObject generateAWSProfile() throws IOException { } static String getEnvironmentVariable(String variableName, String defaultValue) { - // get all environment variables - Map env = System.getenv(); String value = System.getenv(variableName); if (value == null || value.equals("")) { System.out.println("Something went wrong retrieving the environment variable " + variableName);