Skip to content

Commit 9455b69

Browse files
committed
Merge branch 'renovate/com.google.cloud-native-image-shared-config-1.x' of https://github.com/renovate-bot/google-http-java-client into renovate/com.google.cloud-native-image-shared-config-1.x
2 parents 8205011 + 6b0a708 commit 9455b69

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

google-http-client/src/main/java/com/google/api/client/util/store/FileDataStoreFactory.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,11 @@
5454
*/
5555
public class FileDataStoreFactory extends AbstractDataStoreFactory {
5656

57-
private static final boolean IS_WINDOWS =
58-
StandardSystemProperty.OS_NAME.value().toLowerCase(Locale.ENGLISH).startsWith("windows");
57+
private static final boolean IS_WINDOWS;
58+
static {
59+
IS_WINDOWS =
60+
StandardSystemProperty.OS_NAME.value().toLowerCase(Locale.ENGLISH).startsWith("windows");
61+
}
5962

6063
/** Directory to store data. */
6164
private final File dataDirectory;

0 commit comments

Comments
 (0)