mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 16:28:56 +00:00
review feedback
- indentation - make counter limit protected Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
This commit is contained in:
parent
8a8ce2c8f6
commit
4af6181d2e
1 changed files with 4 additions and 4 deletions
|
@ -105,7 +105,7 @@ public class LazyLinkingResource extends XtextResource {
|
|||
|
||||
@Named(CYCLIC_LINKING_DECTECTION_COUNTER_LIMIT)
|
||||
@Inject(optional=true)
|
||||
private int cyclicLinkingDectectionCounterLimit = 100;
|
||||
protected int cyclicLinkingDectectionCounterLimit = 100;
|
||||
|
||||
private int cyclicLinkingDetectionCounter = 0;
|
||||
|
||||
|
@ -306,9 +306,9 @@ public class LazyLinkingResource extends XtextResource {
|
|||
return null;
|
||||
} finally {
|
||||
if (cyclicLinkingDetectionCounter > cyclicLinkingDectectionCounterLimit) {
|
||||
resolving.remove(triple);
|
||||
}
|
||||
cyclicLinkingDetectionCounter--;
|
||||
resolving.remove(triple);
|
||||
}
|
||||
cyclicLinkingDetectionCounter--;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue