File tree 3 files changed +3
-13
lines changed
main/java/com/ericsson/eiffel/semantics/events
test/java/com/ericsson/eiffel/remrem/semantics
3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 36
36
baseName = ' eiffel-remrem-semantics'
37
37
// If this version is updated please update it in Event.java
38
38
// com.ericsson.eiffel.remrem.semantics.events
39
- version = ' 0.1.8 '
39
+ version = ' 0.2.0 '
40
40
manifest {
41
41
attributes(' remremVersionKey' : ' semanticsVersion' )
42
42
attributes(' semanticsVersion' : version)
Original file line number Diff line number Diff line change 1
1
package com .ericsson .eiffel .semantics .events ;
2
2
3
3
import java .util .UUID ;
4
- import java .util .jar .Attributes ;
5
-
6
- import javax .inject .Inject ;
7
4
8
5
import com .google .gson .Gson ;
9
6
import com .google .gson .JsonObject ;
10
- import com .google .gson .annotations .SerializedName ;
11
-
12
- import sun .font .Type1Font ;
13
7
14
8
public abstract class Event {
15
- public transient Meta meta ;
16
- public static String version = "1.0.0" ;
17
-
18
- @ Inject
19
- private Attributes attributes ;
9
+ public transient Meta meta ;
20
10
21
11
public void generateMeta (String msgType , JsonObject msgNodes ) {
22
12
meta = new Gson ().fromJson (msgNodes .get ("meta" ), Meta .class );
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ public class ServiceTest {
123
123
public void setUp () throws Exception {
124
124
Attributes attributes = mock (Attributes .class );
125
125
MockitoAnnotations .initMocks (this );
126
- when (attributes .getValue (anyString ())).thenReturn ("0.1.5 " );
126
+ when (attributes .getValue (anyString ())).thenReturn ("0.2.0 " );
127
127
}
128
128
129
129
private void testGenerateMsg (String msgType , String fileName ) {
You can’t perform that action at this time.
0 commit comments