File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
src/main/java/net/codestory/http/misc Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
package net .codestory .http .misc ;
17
17
18
- import com .google .common .annotations .VisibleForTesting ;
19
18
import net .codestory .http .reload .MasterFolderWatch ;
20
19
21
20
import java .io .File ;
@@ -173,18 +172,13 @@ public boolean diskCache() {
173
172
return diskCache ;
174
173
}
175
174
176
- @ VisibleForTesting
177
- private static String getenv (String envVar ) {
178
- return System .getenv (envVar );
179
- }
180
-
181
175
private static String get (String propertyName ) {
182
- String env = getenv (propertyName );
176
+ String env = System . getenv (propertyName );
183
177
return (env != null ) ? env : System .getProperty (propertyName );
184
178
}
185
179
186
180
private static String get (String propertyName , String defaultValue ) {
187
- String env = getenv (propertyName );
181
+ String env = System . getenv (propertyName );
188
182
return (env != null ) ? env : System .getProperty (propertyName , defaultValue );
189
183
}
190
184
You can’t perform that action at this time.
0 commit comments