Skip to content

Commit 78f7c1a

Browse files
ref: Add Nullable for sampleRate in Options (#4697)
1 parent 64295f6 commit 78f7c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry/src/main/java/io/sentry/SentryOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ public void setProxy(@Nullable Proxy proxy) {
10611061
*
10621062
* @param sampleRate the sample rate
10631063
*/
1064-
public void setSampleRate(Double sampleRate) {
1064+
public void setSampleRate(@Nullable Double sampleRate) {
10651065
if (!SampleRateUtils.isValidSampleRate(sampleRate)) {
10661066
throw new IllegalArgumentException(
10671067
"The value "

0 commit comments

Comments
 (0)