Skip to content

Commit 4824194

Browse files
committed
Remove deprecated elements #249
1 parent feb8a52 commit 4824194

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2012, 2021, Werner Keil and others by the @author tag.
2+
Copyright (c) 2012, 2025, Werner Keil and others by the @author tag.
33
44
Licensed under the Apache License, Version 2.0 (the "License"); you may not
55
use this file except in compliance with the License. You may obtain a copy of

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,12 @@ class IMFRemoteSearchCallable implements Callable<IMFRemoteSearchResult>{
3636
private final IMFHistoricalType type;
3737
private final YearMonth yearMonth;
3838

39-
/** The Useragent
40-
* @deprecated not needed anymore for IMF, likely removed */
41-
private final String userAgent;
42-
4339
IMFRemoteSearchCallable(IMFHistoricalType type, YearMonth yearMonth, String userAgent) {
4440
this.type = Objects.requireNonNull(type);
4541
this.yearMonth = Objects.requireNonNull(yearMonth);
46-
this.userAgent = userAgent;
42+
// userAgent currently not used, leaving it for possible future use.
4743
}
4844

49-
5045
@Override
5146
public IMFRemoteSearchResult call() throws Exception {
5247
final OkHttpClient client = new OkHttpClient.Builder()

0 commit comments

Comments
 (0)