Skip to content

Commit e08392c

Browse files
author
Rune M. Andersen
committed
Made some classes and methods overridable for better subclassing.
1 parent c543b89 commit e08392c

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>no.wtw.android</groupId>
88
<artifactId>rest-service-utils</artifactId>
9-
<version>2.2</version>
9+
<version>2.3</version>
1010
<packaging>aar</packaging>
1111
<name>AndroidRestServiceUtils</name>
1212

src/no/wtw/android/restserviceutils/AbstractRestCall.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package no.wtw.android.restserviceutils;
22

3-
abstract class AbstractRestCall<T> {
3+
public abstract class AbstractRestCall<T> {
44

55
protected AbstractRestCall() {
66
}

src/no/wtw/android/restserviceutils/RestCall.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
public abstract class RestCall<T> extends AbstractRestCall<T> {
44

55
@Override
6-
final public T executeInternal() throws Exception {
6+
public T executeInternal() throws Exception {
77
return run();
88
}
99

src/no/wtw/android/restserviceutils/RestCallSimple.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
public abstract class RestCallSimple extends AbstractRestCall<Void> {
44

55
@Override
6-
final public Void executeInternal() throws Exception {
6+
public Void executeInternal() throws Exception {
77
run();
88
return null;
99
}

0 commit comments

Comments
 (0)