Save系のメソッドからチェーンできる必要はなさそうなので戻り値をvoidに

This commit is contained in:
r-ca committed 2024-01-09 12:36:35 +09:00
1 parent e20b3f4a35
commit 301678658c
2 files changed
+8 -8

No files matched your search

@@ -34,12 +34,12 @@ public interface FileManager {
// Save
// XML
FileManager saveXml(Document document, String fileName) throws IOException;
FileManager saveXml(Document document) throws IOException;
void saveXml(Document document, String fileName) throws IOException;
void saveXml(Document document) throws IOException;
// Bitmap
FileManager saveBitmap(Bitmap bitmap, String fileName) throws IOException; // TODO-rca: パラメータに対応させる
FileManager saveBitmap(Bitmap bitmap) throws IOException; // TODO-rca: パラメータに対応させる
void saveBitmap(Bitmap bitmap, String fileName) throws IOException; // TODO-rca: パラメータに対応させる
void saveBitmap(Bitmap bitmap) throws IOException; // TODO-rca: パラメータに対応させる
// Load
@@ -187,22 +187,22 @@ public class FileManagerImpl implements FileManager {
}
@Override
public FileManager saveXml(Document document, String fileName) throws IOException {
public void saveXml(Document document, String fileName) throws IOException {
return null;
}
@Override
public FileManager saveXml(Document document) throws IOException {
public void saveXml(Document document) throws IOException {
return null;
}
@Override
public FileManager saveBitmap(Bitmap bitmap, String fileName) throws IOException {
public void saveBitmap(Bitmap bitmap, String fileName) throws IOException {
return null;
}
@Override
public FileManager saveBitmap(Bitmap bitmap) throws IOException {
public void saveBitmap(Bitmap bitmap) throws IOException {
return null;
}