inline parameter: make it public; allow to inline refs to the same non final fields...
[fedora-idea.git] / java / java-tests / testData / refactoring / inlineParameter / Ref2ConstantsWithTheSameValue.java.after
blob692154d24800a327c57e5052254d269e5cff70c9
1 public class Subject {
2   private int myInt;
4   public void wp() {
5     myInt += User.OUR_CONST;
6   }
9 class User {
10   public static final int OUR_CONST = 2;
11   public static final int OUR_CONST2 = 2;
13   private void oper() {
14     Subject subj = new Subject();
15     subj.wp();
16     subj.wp();
17   }