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.
1 parent c388a04 commit 6b0a708Copy full SHA for 6b0a708
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