mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 05:11:34 +02:00
Fix equals bug in ServletFile diff.
This commit is contained in:
@@ -8,11 +8,13 @@ import uk.ac.ic.wlgitbridge.bridge.RawFile;
|
||||
public class ServletFile extends RawFile {
|
||||
|
||||
private final RawFile file;
|
||||
private final RawFile oldFile;
|
||||
private final boolean changed;
|
||||
|
||||
public ServletFile(RawFile file, RawFile oldFile) {
|
||||
this.file = file;
|
||||
changed = equals(oldFile);
|
||||
this.oldFile = oldFile;
|
||||
changed = !equals(oldFile);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user