mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-17 10:41:06 +01:00
use final field and fixed a precondition check
This commit is contained in:
@@ -46,7 +46,7 @@ import java.io.OutputStream;
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
public class FileBlob implements Blob
|
||||
public final class FileBlob implements Blob
|
||||
{
|
||||
|
||||
/**
|
||||
@@ -122,8 +122,8 @@ public class FileBlob implements Blob
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
/** Field description */
|
||||
private File file;
|
||||
private final File file;
|
||||
|
||||
/** Field description */
|
||||
private String id;
|
||||
private final String id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user