File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
google-http-client/src/main/java/com/google/api/client/util/store Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 56
56
*/
57
57
public class FileDataStoreFactory extends AbstractDataStoreFactory {
58
58
59
- private static final boolean IS_WINDOWS ;
60
- static {
61
- try {
62
- IS_WINDOWS =
63
- StandardSystemProperty .OS_NAME .value ().toLowerCase (Locale .ENGLISH ).startsWith ("windows" );
64
- } catch (Throwable ex ) {
65
- Logger .getLogger (FileDataStoreFactory .class .getName ()).severe (ex .getMessage ());
66
- throw ex ;
67
- }
68
- }
59
+ // private static final boolean IS_WINDOWS;
60
+ // static {
61
+ // try {
62
+ // IS_WINDOWS =
63
+ // StandardSystemProperty.OS_NAME.value().toLowerCase(Locale.ENGLISH).startsWith("windows");
64
+ // } catch (Throwable ex) {
65
+ // Logger.getLogger(FileDataStoreFactory.class.getName()).severe(ex.getMessage());
66
+ // throw ex;
67
+ // }
68
+ // }
69
69
70
70
/** Directory to store data. */
71
71
private final File dataDirectory ;
@@ -83,11 +83,11 @@ public FileDataStoreFactory(File dataDirectory) throws IOException {
83
83
}
84
84
this .dataDirectory = dataDirectory ;
85
85
86
- if (IS_WINDOWS ) {
87
- setPermissionsToOwnerOnlyWindows (dataDirectory );
88
- } else {
86
+ // if (IS_WINDOWS) {
87
+ // setPermissionsToOwnerOnlyWindows(dataDirectory);
88
+ // } else {
89
89
setPermissionsToOwnerOnly (dataDirectory );
90
- }
90
+ // }
91
91
}
92
92
93
93
/** Returns the data directory. */
You can’t perform that action at this time.
0 commit comments