package Controllers;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

public class Image
{
    private String filename;
    private Long length;
    private InputStream content;
    
    public Image(String filename) throws FileNotFoundException
    {
        super();
        this.filename = filename;
    }
    public String getFilename()
    {
        return filename;
    }
    public void setFilename(String filename)
    {
        this.filename = filename;
    }
    public Long getLength()
    {
        return length;
    }
    public void setLength(Long length)
    {
        this.length = length;
    }
    public InputStream getContent()
    {
        return content;
    }
    public void setContent(InputStream content)
    {
        this.content = content;
    }
    
    
}

@@ -19,40 +19,8 @@
 s;%0A%0A
-import java.io.FileInputStream;%0A
 impo
@@ -144,20 +144,19 @@
 private 
-Long
+int
  length;
@@ -491,20 +491,19 @@
  public 
-Long
+int
  getLeng
@@ -572,12 +572,11 @@
 gth(
-Long
+int
  len

Change the datatype of length to int