diff options
author | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2019-04-12 13:00:59 -0400 |
---|---|---|
committer | Bilal Alsharifi <bilal.alsharifi@gmail.com> | 2019-04-12 13:00:59 -0400 |
commit | 06d6fb32e25b29de752db08285f6a0ac98029faa (patch) | |
tree | f858968502dd92a86b393d76f60cdfbcc7e32a19 | |
parent | 6f05f2d8cf18aa43369806d1e86b8ce90b144976 (diff) | |
download | sdl_android-06d6fb32e25b29de752db08285f6a0ac98029faa.tar.gz |
Remove unnecessary SdlFile constructor in javafeature/remove_sdlfile_constructor
-rw-r--r-- | javaSE/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlArtwork.java | 4 | ||||
-rw-r--r-- | javaSE/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java | 15 |
2 files changed, 0 insertions, 19 deletions
diff --git a/javaSE/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlArtwork.java b/javaSE/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlArtwork.java index d95940f11..0c8a3721d 100644 --- a/javaSE/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlArtwork.java +++ b/javaSE/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlArtwork.java @@ -50,10 +50,6 @@ public class SdlArtwork extends SdlFile { super(staticIconName); } - public SdlArtwork(@NonNull String fileName, @NonNull FileType fileType, int id, boolean persistentFile) { - super(fileName, fileType, id, persistentFile); - } - public SdlArtwork(@NonNull String fileName, @NonNull FileType fileType, String filePath, boolean persistentFile) { super(fileName, fileType, filePath, persistentFile); } diff --git a/javaSE/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java b/javaSE/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java index 6b2ac7a69..304b92d33 100644 --- a/javaSE/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java +++ b/javaSE/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java @@ -40,7 +40,6 @@ import com.smartdevicelink.proxy.rpc.enums.StaticIconName; */ public class SdlFile{ private String fileName; - private int id = -1; private String filePath; private byte[] fileData; private FileType fileType; @@ -56,13 +55,6 @@ public class SdlFile{ this.isStaticIcon = true; } - public SdlFile(@NonNull String fileName, @NonNull FileType fileType, int id, boolean persistentFile){ - this.fileName = fileName; - this.fileType = fileType; - this.id = id; - this.persistentFile = persistentFile; - } - public SdlFile(@NonNull String fileName, @NonNull FileType fileType, byte[] data, boolean persistentFile){ this.fileName = fileName; this.fileType = fileType; @@ -84,13 +76,6 @@ public class SdlFile{ return fileName; } - public void setResourceId(int id){ - this.id = id; - } - public int getResourceId(){ - return id; - } - public void setFilePath(String filePath){ this.filePath = filePath; } |