@@ -37,8 +37,8 @@ class AnnotationLineTest {
37
37
*/
38
38
@ Test
39
39
void testEqualsNegative1 () {
40
- AnnotationLine annotationLine1 = new AnnotationLine ("1.0" , "bar" , true , null );
41
- AnnotationLine annotationLine2 = new AnnotationLine ("1.0" , "barX" , true , null );
40
+ AnnotationLine annotationLine1 = new AnnotationLine ("1.0" , "bar" , true );
41
+ AnnotationLine annotationLine2 = new AnnotationLine ("1.0" , "barX" , true );
42
42
assertNotEquals (annotationLine1 , annotationLine2 );
43
43
}
44
44
@@ -47,8 +47,8 @@ void testEqualsNegative1() {
47
47
*/
48
48
@ Test
49
49
void testEqualsNegative2 () {
50
- AnnotationLine annotationLine1 = new AnnotationLine ("1.0.1" , "bar" , true , null );
51
- AnnotationLine annotationLine2 = new AnnotationLine ("1.0" , "bar" , true , null );
50
+ AnnotationLine annotationLine1 = new AnnotationLine ("1.0.1" , "bar" , true );
51
+ AnnotationLine annotationLine2 = new AnnotationLine ("1.0" , "bar" , true );
52
52
assertNotEquals (annotationLine1 , annotationLine2 );
53
53
}
54
54
@@ -57,8 +57,8 @@ void testEqualsNegative2() {
57
57
*/
58
58
@ Test
59
59
void testEqualsNegative3 () {
60
- AnnotationLine annotationLine1 = new AnnotationLine ("1.0" , "bar" , true , null );
61
- AnnotationLine annotationLine2 = new AnnotationLine ("1.0" , "bar" , false , null );
60
+ AnnotationLine annotationLine1 = new AnnotationLine ("1.0" , "bar" , true );
61
+ AnnotationLine annotationLine2 = new AnnotationLine ("1.0" , "bar" , false );
62
62
assertNotEquals (annotationLine1 , annotationLine2 );
63
63
}
64
64
@@ -67,8 +67,8 @@ void testEqualsNegative3() {
67
67
*/
68
68
@ Test
69
69
void testEqualsPositive () {
70
- AnnotationLine annotationLine1 = new AnnotationLine ("1.0" , "bar" , true , null );
71
- AnnotationLine annotationLine2 = new AnnotationLine ("1.0" , "bar" , true , null );
70
+ AnnotationLine annotationLine1 = new AnnotationLine ("1.0" , "bar" , true );
71
+ AnnotationLine annotationLine2 = new AnnotationLine ("1.0" , "bar" , true );
72
72
assertEquals (annotationLine1 , annotationLine2 );
73
73
}
74
74
@@ -77,7 +77,7 @@ void testEqualsPositive() {
77
77
*/
78
78
@ Test
79
79
void testDisplayRevisionFallBack () {
80
- AnnotationLine annotationLine1 = new AnnotationLine ("1.0" , "bar" , true , null );
80
+ AnnotationLine annotationLine1 = new AnnotationLine ("1.0" , "bar" , true );
81
81
assertEquals ("1.0" , annotationLine1 .getDisplayRevision ());
82
82
}
83
83
0 commit comments