This commit is contained in:
Dmitry Jemerov
2009-09-10 20:43:40 +04:00
parent e9214df509
commit f9dbab8f6d
149 changed files with 7 additions and 0 deletions
@@ -0,0 +1,21 @@
class Mapping {
private int myInt;
public void <caret>method(int p1, boolean p2) {
myInt = p2 ? p1 : 0;
if (!p2) {
myInt *= p1;
}
}
public boolean sayYes() {
return true;
}
public void context() {
myInt = sayYes() ? 15 / 5 : 0;
if (!sayYes()) {
myInt *= 15 / 5;
}
}
}