File tree 11 files changed +22
-12
lines changed
src/main/java/com/segment/analytics
src/main/java/com/segment/analytics/messages
11 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 40
40
<artifactId >guava</artifactId >
41
41
<scope >provided</scope >
42
42
</dependency >
43
+ <dependency >
44
+ <groupId >jakarta.annotation</groupId >
45
+ <artifactId >jakarta.annotation-api</artifactId >
46
+ <version >2.1.1</version >
47
+ </dependency >
43
48
44
49
<dependency >
45
50
<groupId >junit</groupId >
Original file line number Diff line number Diff line change 2
2
3
3
import com .google .auto .value .AutoValue ;
4
4
import com .segment .analytics .gson .AutoGson ;
5
+ import jakarta .annotation .Nullable ;
5
6
import java .util .Date ;
6
7
import java .util .Map ;
7
- import javax .annotation .Nullable ;
8
8
9
9
/**
10
10
* The group API call is how you associate an individual user with a group—be it a company,
Original file line number Diff line number Diff line change 2
2
3
3
import com .google .auto .value .AutoValue ;
4
4
import com .segment .analytics .gson .AutoGson ;
5
+ import jakarta .annotation .Nullable ;
5
6
import java .util .Date ;
6
7
import java .util .Map ;
7
- import javax .annotation .Nullable ;
8
8
9
9
/**
10
10
* The identify call ties a customer and their actions to a recognizable ID and traits like their
Original file line number Diff line number Diff line change 1
1
package com .segment .analytics .messages ;
2
2
3
+ import jakarta .annotation .Nonnull ;
4
+ import jakarta .annotation .Nullable ;
3
5
import java .util .Date ;
4
6
import java .util .Map ;
5
- import javax .annotation .Nonnull ;
6
- import javax .annotation .Nullable ;
7
7
8
8
/**
9
9
* Encapsulates properties common to all messages. Although not enforced by the compiler, either the
Original file line number Diff line number Diff line change 2
2
3
3
import com .google .auto .value .AutoValue ;
4
4
import com .segment .analytics .gson .AutoGson ;
5
+ import jakarta .annotation .Nullable ;
5
6
import java .util .Date ;
6
7
import java .util .Map ;
7
- import javax .annotation .Nullable ;
8
8
9
9
/**
10
10
* The page call lets you record whenever a user sees a page of your website, along with any
Original file line number Diff line number Diff line change 2
2
3
3
import com .google .auto .value .AutoValue ;
4
4
import com .segment .analytics .gson .AutoGson ;
5
+ import jakarta .annotation .Nullable ;
5
6
import java .util .Date ;
6
7
import java .util .Map ;
7
- import javax .annotation .Nullable ;
8
8
9
9
/**
10
10
* The screen call lets you record whenever a user sees a screen, along with any properties about
Original file line number Diff line number Diff line change 2
2
3
3
import com .google .auto .value .AutoValue ;
4
4
import com .segment .analytics .gson .AutoGson ;
5
+ import jakarta .annotation .Nullable ;
5
6
import java .util .Date ;
6
7
import java .util .Map ;
7
- import javax .annotation .Nullable ;
8
8
9
9
/**
10
10
* The track API call is how you record any actions your users perform, along with any properties
Original file line number Diff line number Diff line change 68
68
<artifactId >mockito-core</artifactId >
69
69
<scope >test</scope >
70
70
</dependency >
71
+ <dependency >
72
+ <groupId >jakarta.annotation</groupId >
73
+ <artifactId >jakarta.annotation-api</artifactId >
74
+ <version >2.1.1</version >
75
+ </dependency >
71
76
</dependencies >
72
77
73
78
<build >
Original file line number Diff line number Diff line change 1
1
package com .segment .analytics ;
2
2
3
+ import jakarta .annotation .Nonnull ;
3
4
import java .io .IOException ;
4
- import javax .annotation .Nonnull ;
5
5
import okhttp3 .Interceptor ;
6
6
import okhttp3 .Request ;
7
7
Original file line number Diff line number Diff line change 1
1
package com .segment .analytics .internal ;
2
2
3
3
import com .segment .analytics .messages .Message ;
4
+ import jakarta .annotation .Nonnull ;
5
+ import jakarta .annotation .Nullable ;
4
6
import java .util .Date ;
5
7
import java .util .Map ;
6
- import javax .annotation .Nonnull ;
7
- import javax .annotation .Nullable ;
8
8
9
9
class FlushMessage implements Message {
10
10
static final FlushMessage POISON = new FlushMessage ();
Original file line number Diff line number Diff line change 1
1
package com .segment .analytics .internal ;
2
2
3
3
import com .segment .analytics .messages .Message ;
4
+ import jakarta .annotation .Nonnull ;
5
+ import jakarta .annotation .Nullable ;
4
6
import java .util .Date ;
5
7
import java .util .Map ;
6
- import javax .annotation .Nonnull ;
7
- import javax .annotation .Nullable ;
8
8
9
9
class StopMessage implements Message {
10
10
static final StopMessage STOP = new StopMessage ();
You can’t perform that action at this time.
0 commit comments