Skip to content

Commit ac9b971

Browse files
Merge pull request #30 from BorderTech/release-1.0.2
Release 1.0.2
2 parents 0e2fb90 + 6a4ea08 commit ac9b971

File tree

10 files changed

+16
-50
lines changed

10 files changed

+16
-50
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>com.github.bordertech.taskmaster</groupId>
66
<name>taskmaster-parent</name>
77
<artifactId>taskmaster-parent</artifactId>
8-
<version>1.0.2-SNAPSHOT</version>
8+
<version>1.0.3-SNAPSHOT</version>
99

1010
<parent>
1111
<groupId>com.github.bordertech.common</groupId>
@@ -49,7 +49,7 @@
4949
<dependency>
5050
<groupId>com.github.bordertech.didums</groupId>
5151
<artifactId>didums-core</artifactId>
52-
<version>1.0.0</version>
52+
<version>1.0.2</version>
5353
</dependency>
5454

5555
<!-- Injection interface. JSR 330 -->
@@ -63,7 +63,7 @@
6363
<dependency>
6464
<groupId>com.github.bordertech.config</groupId>
6565
<artifactId>config</artifactId>
66-
<version>1.0.1</version>
66+
<version>1.0.2</version>
6767
</dependency>
6868

6969
<!-- SLF4J Logging -->

taskmaster-cache-ehcache/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<groupId>com.github.bordertech.taskmaster</groupId>
66
<name>taskmaster-cache-ehcache</name>
77
<artifactId>taskmaster-cache-ehcache</artifactId>
8-
<version>1.0.2-SNAPSHOT</version>
8+
<version>1.0.3-SNAPSHOT</version>
99

1010
<parent>
1111
<groupId>com.github.bordertech.taskmaster</groupId>
1212
<artifactId>taskmaster-parent</artifactId>
13-
<version>1.0.2-SNAPSHOT</version>
13+
<version>1.0.3-SNAPSHOT</version>
1414
<relativePath>../pom.xml</relativePath>
1515
</parent>
1616

taskmaster-cache-helper/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<groupId>com.github.bordertech.taskmaster</groupId>
66
<name>taskmaster-cache-helper</name>
77
<artifactId>taskmaster-cache-helper</artifactId>
8-
<version>1.0.2-SNAPSHOT</version>
8+
<version>1.0.3-SNAPSHOT</version>
99

1010
<parent>
1111
<groupId>com.github.bordertech.taskmaster</groupId>
1212
<artifactId>taskmaster-parent</artifactId>
13-
<version>1.0.2-SNAPSHOT</version>
13+
<version>1.0.3-SNAPSHOT</version>
1414
<relativePath>../pom.xml</relativePath>
1515
</parent>
1616

taskmaster-cache-helper/src/main/java/com/github/bordertech/taskmaster/cache/CachingHelper.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,7 @@
1313
*/
1414
public final class CachingHelper {
1515

16-
private static final CachingHelperProvider PROVIDER;
17-
18-
static {
19-
// Check if instance defined
20-
if (Didums.hasService(CachingHelperProvider.class)) {
21-
PROVIDER = Didums.getService(CachingHelperProvider.class);
22-
} else {
23-
// Default Implementation
24-
PROVIDER = new CachingHelperProviderDefault();
25-
}
26-
}
16+
private static final CachingHelperProvider PROVIDER = Didums.getService(CachingHelperProvider.class, CachingHelperProviderDefault.class);
2717

2818
/**
2919
* Private constructor.

taskmaster-core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<groupId>com.github.bordertech.taskmaster</groupId>
66
<name>taskmaster-core</name>
77
<artifactId>taskmaster-core</artifactId>
8-
<version>1.0.2-SNAPSHOT</version>
8+
<version>1.0.3-SNAPSHOT</version>
99

1010
<parent>
1111
<groupId>com.github.bordertech.taskmaster</groupId>
1212
<artifactId>taskmaster-parent</artifactId>
13-
<version>1.0.2-SNAPSHOT</version>
13+
<version>1.0.3-SNAPSHOT</version>
1414
<relativePath>../pom.xml</relativePath>
1515
</parent>
1616

taskmaster-core/src/main/java/com/github/bordertech/taskmaster/TaskMaster.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,7 @@
2323
*/
2424
public final class TaskMaster {
2525

26-
private static final TaskMasterProvider PROVIDER;
27-
28-
static {
29-
// Check if instance defined
30-
if (Didums.hasService(TaskMasterProvider.class)) {
31-
PROVIDER = Didums.getService(TaskMasterProvider.class);
32-
} else {
33-
// Default Implementation
34-
PROVIDER = new TaskMasterProviderExecutorService();
35-
}
36-
}
26+
private static final TaskMasterProvider PROVIDER = Didums.getService(TaskMasterProvider.class, TaskMasterProviderExecutorService.class);
3727

3828
/**
3929
* Private constructor.

taskmaster-service-helper/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<groupId>com.github.bordertech.taskmaster</groupId>
66
<name>taskmaster-service-helper</name>
77
<artifactId>taskmaster-service-helper</artifactId>
8-
<version>1.0.2-SNAPSHOT</version>
8+
<version>1.0.3-SNAPSHOT</version>
99

1010
<parent>
1111
<groupId>com.github.bordertech.taskmaster</groupId>
1212
<artifactId>taskmaster-parent</artifactId>
13-
<version>1.0.2-SNAPSHOT</version>
13+
<version>1.0.3-SNAPSHOT</version>
1414
<relativePath>../pom.xml</relativePath>
1515
</parent>
1616

taskmaster-service-helper/src/main/java/com/github/bordertech/taskmaster/service/ServiceHelper.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,10 @@
55

66
/**
77
* Service invocation helper.
8-
*
9-
* @author jonathan
108
*/
119
public final class ServiceHelper {
1210

13-
private static final ServiceHelperProvider PROVIDER;
14-
15-
static {
16-
// Check if instance defined
17-
if (Didums.hasService(ServiceHelperProvider.class)) {
18-
PROVIDER = Didums.getService(ServiceHelperProvider.class);
19-
} else {
20-
// Default Implementation
21-
PROVIDER = new ServiceHelperProviderDefault();
22-
}
23-
}
11+
private static final ServiceHelperProvider PROVIDER = Didums.getService(ServiceHelperProvider.class, ServiceHelperProviderDefault.class);
2412

2513
/**
2614
* Private constructor.

taskmaster-service-helper/src/main/java/com/github/bordertech/taskmaster/service/ServiceHelperProvider.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
/**
1010
* Service invocation helper provider.
11-
*
12-
* @author jonathan
1311
*/
1412
public interface ServiceHelperProvider {
1513

taskmaster-servlet-tools/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<groupId>com.github.bordertech.taskmaster</groupId>
66
<name>taskmaster-servlet-tools</name>
77
<artifactId>taskmaster-servlet-tools</artifactId>
8-
<version>1.0.2-SNAPSHOT</version>
8+
<version>1.0.3-SNAPSHOT</version>
99

1010
<parent>
1111
<groupId>com.github.bordertech.taskmaster</groupId>
1212
<artifactId>taskmaster-parent</artifactId>
13-
<version>1.0.2-SNAPSHOT</version>
13+
<version>1.0.3-SNAPSHOT</version>
1414
<relativePath>../pom.xml</relativePath>
1515
</parent>
1616

0 commit comments

Comments
 (0)