package edu.chl.proton.model;

/**
 * @author Stina Werme
 * Created by stinawerme on 01/05/17.
 */
public class File extends FileSystemEntity {

    //private Document document;

    public File(String name) {
        this.setName(name);
    }

    public File(String name, Folder parentFolder) {
        this.setName(name);
        parentFolder.addFile(this);
    }

    //protected Document getDocument() {
    //    return this.document;
    //}

    //protected void setDocument(Document document) {
    //    this.document = document;
    //}

    // What should be saved? Shouldn't this be in document?
    protected void save(File file) {

    }

    protected boolean isSaved(File file) {
        return true;
    }
}

@@ -627,25 +627,16 @@
 id save(
-File file
 ) %7B%0A%0A   
@@ -673,17 +673,8 @@
 ved(
-File file
 ) %7B%0A

Remove parameters from save methods