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

This commit is contained in:
r-ca 2024-01-09 12:36:35 +09:00
parent e20b3f4a35
commit 301678658c
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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;
}