preventing the inference recompute from being triggered by empty file graphs
This commit is contained in:
parent
fd91aa4580
commit
ea0822600b
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ public class FileGraphSetup implements ServletContextListener {
|
|||
|
||||
boolean isIsomorphic = dbModel.isIsomorphicWith(fileModel);
|
||||
|
||||
if (dbModel.isEmpty() ) {
|
||||
if (dbModel.isEmpty() && !fileModel.isEmpty()) {
|
||||
dbModel.add(fileModel);
|
||||
modelChanged = true;
|
||||
} else if (!isIsomorphic) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue