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 5656 */
5757public class FileDataStoreFactory extends AbstractDataStoreFactory {
5858
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+ // }
6969
7070 /** Directory to store data. */
7171 private final File dataDirectory ;
@@ -83,11 +83,11 @@ public FileDataStoreFactory(File dataDirectory) throws IOException {
8383 }
8484 this .dataDirectory = dataDirectory ;
8585
86- if (IS_WINDOWS ) {
87- setPermissionsToOwnerOnlyWindows (dataDirectory );
88- } else {
86+ // if (IS_WINDOWS) {
87+ // setPermissionsToOwnerOnlyWindows(dataDirectory);
88+ // } else {
8989 setPermissionsToOwnerOnly (dataDirectory );
90- }
90+ // }
9191 }
9292
9393 /** Returns the data directory. */
You can’t perform that action at this time.
0 commit comments