Logo
Explore Help
Register Sign In
MDS/openide
Watch 1
Star 0
Fork 0
mirror of https://gitflic.ru/project/openide/openide.git synced 2026-09-01 05:18:06 +07:00
Code Issues Packages Projects Releases Wiki Activity
Files
261
openide/java/java-tests/testData/inspection/defUse/IfInLoop.java
T
Pavel Dolgov aa51cac5c5 Java control flow: Detecting redundant assignment when the control flow includes a try-finally statement, fixed handling calls, tests added (IDEA-155836)
2016-08-09 18:20:57 +03:00

10 lines
137 B
Java
Raw Permalink Blame History

class C {
int f() {
int i = 0;
for (int j = 0; j < 2; j++) {
if (j == 2) return 1;
i = 1;
}
return i;
}
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.27.1 Page: 5286ms Template: 5ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API