Moved the compressed variable set from a static method to the constructor
This commit is contained in:
parent
1c803c6125
commit
7a50410132
|
@ -17,8 +17,6 @@ public class BdfFileManager extends BdfObject
|
|||
|
||||
private static BdfDatabase init(String path, boolean compressed)
|
||||
{
|
||||
this.compressed = compressed;
|
||||
|
||||
// Get the file
|
||||
File file = new File(path);
|
||||
|
||||
|
@ -44,6 +42,7 @@ public class BdfFileManager extends BdfObject
|
|||
|
||||
public BdfFileManager(String path, boolean compressed) {
|
||||
super(init(path, compressed));
|
||||
this.compressed = compressed;
|
||||
this.path = path;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue