File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
deepl-java/src/main/java/com/deepl/api Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212### Removed
1313### Fixed
1414* Fixed examples in readme.
15+ * ` Usage.Detail ` ` count ` and ` detail ` properties type changed from ` int ` to ` long ` .
1516### Security
1617
1718
Original file line number Diff line number Diff line change @@ -35,21 +35,21 @@ public class Usage {
3535
3636 /** Stores the amount used and maximum amount for one usage type. */
3737 public static class Detail {
38- private final int count ;
39- private final int limit ;
38+ private final long count ;
39+ private final long limit ;
4040
41- public Detail (int count , int limit ) {
41+ public Detail (long count , long limit ) {
4242 this .count = count ;
4343 this .limit = limit ;
4444 }
4545
4646 /** @return The currently used number of items for this usage type. */
47- public int getCount () {
47+ public long getCount () {
4848 return count ;
4949 }
5050
5151 /** @return The maximum permitted number of items for this usage type. */
52- public int getLimit () {
52+ public long getLimit () {
5353 return limit ;
5454 }
5555
You can’t perform that action at this time.
0 commit comments