Skip to content

Commit 98c4eca

Browse files
committed
refactor: push down method m2 from class A to class B
1 parent 16ffeb0 commit 98c4eca

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/actions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
LANGUAGE: Java
1616
REV_BEFORE: ${{ github.event.pull_request.base.sha }}
1717
REV_AFTER: ${{ github.event.pull_request.head.sha }}
18-
uses: rodrigo-brito/refactoring-aware-review@action
18+
uses: rodrigo-brito/refactoring-aware-diff@action

src/p8/A.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,4 @@ public class A {
44
public void m1() {
55
System.out.println("m1");
66
}
7-
8-
public void m2() {
9-
System.out.println("m2");
10-
}
117
}

src/p8/B.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
package p8;
22

33
public class B extends A {
4+
public void m2() {
5+
System.out.println("m2");
6+
}
7+
48
public void m3() {
59
System.out.println("m3");
610
}

0 commit comments

Comments
 (0)