We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8205011 + 6b0a708 commit 9455b69Copy full SHA for 9455b69
google-http-client/src/main/java/com/google/api/client/util/store/FileDataStoreFactory.java
@@ -54,8 +54,11 @@
54
*/
55
public class FileDataStoreFactory extends AbstractDataStoreFactory {
56
57
- private static final boolean IS_WINDOWS =
58
- StandardSystemProperty.OS_NAME.value().toLowerCase(Locale.ENGLISH).startsWith("windows");
+ private static final boolean IS_WINDOWS;
+ static {
59
+ IS_WINDOWS =
60
+ StandardSystemProperty.OS_NAME.value().toLowerCase(Locale.ENGLISH).startsWith("windows");
61
+ }
62
63
/** Directory to store data. */
64
private final File dataDirectory;
0 commit comments