Skip to content

Commit 2a25e32

Browse files
committed
Deprecate Useragent
1 parent 39d19d9 commit 2a25e32

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

moneta-convert/moneta-convert-imf/src/main/java/org/javamoney/moneta/convert/imf/IMFRemoteSearchCallable.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,15 @@ class IMFRemoteSearchCallable implements Callable<IMFRemoteSearchResult>{
3535

3636
private final IMFHistoricalType type;
3737
private final YearMonth yearMonth;
38+
39+
/** The Useragent
40+
* @deprecated not needed anymore for IMF, likely removed */
3841
private final String userAgent;
3942

4043
IMFRemoteSearchCallable(IMFHistoricalType type, YearMonth yearMonth, String userAgent) {
4144
this.type = Objects.requireNonNull(type);
4245
this.yearMonth = Objects.requireNonNull(yearMonth);
43-
this.userAgent = Objects.requireNonNull(userAgent);
46+
this.userAgent = userAgent;
4447
}
4548

4649

0 commit comments

Comments
 (0)