- // Second phase commit starts after validation and validation adds the dependencies into the dependency resolver, which are necessary for the calculation
- // FIXME generated code for abstract module declares validate method as non-final
- // Overriding the validate would cause recreate every time instead of reuse + also possibly wrong close order if there is another module depending
- transactionStatus.checkCommitStarted();
- if (maxDependencyDepth == null) {
- maxDependencyDepth = getMaxDepth(this, manager,
- new LinkedHashSet<ModuleIdentifier>());
+ // Second phase commit starts after validation and validation adds the
+ // dependencies into the dependency resolver, which are necessary for the
+ // calculation
+ // FIXME generated code for abstract module declares validate method as
+ // non-final
+ // Overriding the validate would cause recreate every time instead of reuse +
+ // also possibly wrong close order if there is another module depending
+ this.transactionStatus.checkCommitStarted();
+ if (this.maxDependencyDepth == null) {
+ this.maxDependencyDepth = getMaxDepth(this, manager, new LinkedHashSet<>());