diff options
author | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2020-08-17 13:34:43 -0400 |
---|---|---|
committer | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2020-08-17 13:34:43 -0400 |
commit | f24ea7e108cce7e6ee89dd5eccd4225b918faa2b (patch) | |
tree | 677e737c131eb99dd26c3ae01b13392b78994eea /android/sdl_android/src | |
parent | 68b9e47af491c9c1bc06ff80dee8b25aa16c1822 (diff) | |
download | sdl_android-f24ea7e108cce7e6ee89dd5eccd4225b918faa2b.tar.gz |
Set default value for overwrite to false
Diffstat (limited to 'android/sdl_android/src')
-rw-r--r-- | android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java b/android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java index ac8942dcb..4fe5e3898 100644 --- a/android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java +++ b/android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java @@ -53,8 +53,8 @@ public class SdlFile{ private boolean persistentFile; private boolean isStaticIcon; private boolean shouldAutoGenerateName; - // Overwrite property by default is set to true in SdlFile constructors indicating that a file can be overwritten - private boolean overwrite = true; + // Overwrite property by default is set to false in SdlFile constructors indicating that a file will not be overwritten + private boolean overwrite = false; /** * Creates a new instance of SdlFile @@ -248,7 +248,7 @@ public class SdlFile{ } /** - * Gets the overwrite property for an SdlFile by default its set to true + * Gets the overwrite property for an SdlFile by default its set to false * @return a boolean value that indicates if a file can be overwritten. */ public boolean getOverwrite() { @@ -256,7 +256,7 @@ public class SdlFile{ } /** - * Sets the overwrite property for an SdlFile by default its set to true + * Sets the overwrite property for an SdlFile by default its set to false * @param overwrite a boolean value that indicates if a file can be overwritten */ public void setOverwrite(boolean overwrite) { |