Skip to content

Commit

Permalink
[lang] Avoid java error when using it variable into lambdas.
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Mar 21, 2019
1 parent 3095f04 commit 8859103
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -716,11 +716,7 @@ protected boolean isReferenceToIt(XFeatureCall featureCall) {
final String itKeyword = IFeatureNames.IT.getFirstSegment();
XFeatureCall theFeatureCall = featureCall;
do {
String name = theFeatureCall.getConcreteSyntaxFeatureName();
if (Strings.equal(itKeyword, name)) {
return true;
}
name = theFeatureCall.getFeature().getSimpleName();
final String name = theFeatureCall.getFeature().getSimpleName();
if (Strings.equal(itKeyword, name)) {
return true;
}
Expand Down

0 comments on commit 8859103

Please sign in to comment.