From 21fdb021c95cfaa9b1c22c38d7f9f0d86c09ea6a Mon Sep 17 00:00:00 2001 From: Andrey Litvitski Date: Sun, 19 Apr 2026 16:10:49 +0300 Subject: [PATCH 1/3] get rid of the old license completely --- README.md | 8 ++--- build.gradle | 2 +- .../funpay4j/client/FunPayClient.java | 14 --------- .../funpay4j/client/OkHttpFunPayClient.java | 14 --------- .../funpay4j/client/package-info.java | 14 --------- .../exceptions/FunPayApiException.java | 14 --------- .../InvalidCsrfTokenOrPHPSESSIDException.java | 14 --------- .../exceptions/InvalidGoldenKeyException.java | 14 --------- .../exceptions/lot/LotNotFoundException.java | 14 --------- .../offer/OfferAlreadyRaisedException.java | 14 --------- .../offer/OfferNotFoundException.java | 14 --------- .../order/OrderNotFoundException.java | 14 --------- .../user/UserNotFoundException.java | 14 --------- .../objects/CsrfTokenAndPHPSESSID.java | 14 --------- .../objects/game/ParsedPromoGame.java | 14 --------- .../objects/game/ParsedPromoGameCounter.java | 14 --------- .../funpay4j/objects/lot/ParsedLot.java | 14 --------- .../objects/lot/ParsedLotCounter.java | 14 --------- .../funpay4j/objects/offer/ParsedOffer.java | 14 --------- .../objects/offer/ParsedPreviewOffer.java | 14 --------- .../funpay4j/objects/order/ParsedOrder.java | 14 --------- .../transaction/ParsedTransaction.java | 14 --------- .../transaction/ParsedTransactionStatus.java | 14 --------- .../transaction/ParsedTransactionType.java | 14 --------- .../user/ParsedAdvancedSellerReview.java | 14 --------- .../objects/user/ParsedPreviewSeller.java | 14 --------- .../objects/user/ParsedPreviewUser.java | 14 --------- .../funpay4j/objects/user/ParsedSeller.java | 14 --------- .../objects/user/ParsedSellerReview.java | 14 --------- .../funpay4j/objects/user/ParsedUser.java | 14 --------- .../funpay4j/parser/FunPayParser.java | 14 --------- .../funpay4j/parser/JsoupFunPayParser.java | 20 ++---------- .../funpay4j/parser/package-info.java | 14 --------- .../funpay4j/request/SaveOfferRequest.java | 14 --------- .../client/OkHttpFunPayClientTest.java | 21 +++---------- .../parser/JsoupFunPayParserTest.java | 14 --------- .../funpay4j/AuthorizedFunPayExecutor.java | 14 --------- .../therepanic/funpay4j/FunPayExecutor.java | 14 --------- .../github/therepanic/funpay4j/FunPayURL.java | 14 --------- .../funpay4j/commands/game/GetPromoGames.java | 14 --------- .../funpay4j/commands/lot/GetLot.java | 14 --------- .../funpay4j/commands/offer/CreateOffer.java | 14 --------- .../commands/offer/CreateOfferImage.java | 14 --------- .../funpay4j/commands/offer/DeleteOffer.java | 14 --------- .../funpay4j/commands/offer/EditOffer.java | 14 --------- .../funpay4j/commands/offer/GetOffer.java | 14 --------- .../commands/offer/RaiseAllOffers.java | 14 --------- .../funpay4j/commands/order/GetOrder.java | 14 --------- .../commands/transaction/GetTransactions.java | 14 --------- .../commands/user/GetSellerReviews.java | 14 --------- .../funpay4j/commands/user/GetUser.java | 14 --------- .../funpay4j/commands/user/UpdateAvatar.java | 14 --------- .../funpay4j/objects/game/PromoGame.java | 14 --------- .../objects/game/PromoGameCounter.java | 14 --------- .../therepanic/funpay4j/objects/lot/Lot.java | 14 --------- .../funpay4j/objects/lot/LotCounter.java | 14 --------- .../funpay4j/objects/offer/Offer.java | 14 --------- .../funpay4j/objects/offer/PreviewOffer.java | 14 --------- .../funpay4j/objects/order/Order.java | 14 --------- .../objects/transaction/Transaction.java | 14 --------- .../transaction/TransactionStatus.java | 14 --------- .../objects/transaction/TransactionType.java | 14 --------- .../objects/user/AdvancedSellerReview.java | 14 --------- .../funpay4j/objects/user/PreviewSeller.java | 14 --------- .../funpay4j/objects/user/PreviewUser.java | 14 --------- .../funpay4j/objects/user/Seller.java | 14 --------- .../funpay4j/objects/user/SellerReview.java | 14 --------- .../funpay4j/objects/user/User.java | 14 --------- .../therepanic/funpay4j/package-info.java | 14 --------- .../AuthorizedFunPayExecutorTest.java | 14 --------- .../funpay4j/FunPayExecutorTest.java | 14 --------- .../funpay4j/game/GetPromoGames.java | 14 --------- .../therepanic/funpay4j/lot/GetLot.java | 14 --------- .../funpay4j/offer/CreateOffer.java | 14 --------- .../funpay4j/offer/CreateOfferImage.java | 14 --------- .../funpay4j/offer/DeleteOffer.java | 14 --------- .../therepanic/funpay4j/offer/EditOffer.java | 14 --------- .../therepanic/funpay4j/offer/GetOffer.java | 14 --------- .../funpay4j/offer/RaiseAllOffers.java | 14 --------- .../therepanic/funpay4j/order/GetOrder.java | 14 --------- .../funpay4j/transaction/GetTransactions.java | 14 --------- .../funpay4j/user/GetSellerReviews.java | 14 --------- .../therepanic/funpay4j/user/GetUser.java | 14 --------- .../funpay4j/user/UpdateAvatar.java | 14 --------- .../therepanic/funpay4j/FunPayUserUtil.java | 31 ++----------------- .../therepanic/funpay4j/package-info.java | 14 --------- ...FunPayUserUtilLastSeenAtConverterTest.java | 14 --------- ...nPayUserUtilRegisterDateConverterTest.java | 14 --------- 88 files changed, 15 insertions(+), 1229 deletions(-) diff --git a/README.md b/README.md index 3a126b7..3f8855a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![CI](https://github.com/therepanic/funpay4j/actions/workflows/build.yml/badge.svg)](https://github.com/therepanic/funpay4j/actions/workflows/build.yml) [![GitHub release](https://img.shields.io/github/v/release/therepanic/funpay4j)](https://github.com/therepanic/funpay4j/releases) [![Maven Central](https://img.shields.io/maven-central/v/io.github.therepanic.funpay4j/core)](https://central.sonatype.com/artifact/io.github.therepanic.funpay4j/core) -[![Apache License](http://img.shields.io/badge/license-ASL-blue.svg)](https://github.com/therepanic/funpay4j/blob/master/COPYING) +[![Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](https://unlicense.org/) --- @@ -27,7 +27,7 @@ The funpay4j library is a Java wrapper for FunPay private api #### Example for gradle: ```java dependencies { - implementation 'io.github.therepanic.funpay4j:core:1.0.7' + implementation 'io.github.therepanic.funpay4j:core:1.0.8' } ``` @@ -37,7 +37,7 @@ dependencies { io.github.therepanic.funpay4j core - 1.0.7 + 1.0.8 ``` @@ -63,7 +63,7 @@ This library is for personal use and for educational purposes due to the fact th - Please, do not use this library to spam (botting, spam messaging, etc...) - Use reasonable (human) delay in between sending requests -Contributors are not responsible for usage and maintainability. Due to the nature of this project, some features of the library are not guaranteed as they make change and break in the future. This library is licensed under ASL +Contributors are not responsible for usage and maintainability. Due to the nature of this project, some features of the library are not guaranteed as they make change and break in the future. This library is released under The Unlicense ## Quick Usage diff --git a/build.gradle b/build.gradle index ff3ac5a..952a4ba 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { allprojects { group = 'io.github.therepanic.funpay4j' - version = '1.0.8-SNAPSHOT' + version = '1.0.8' repositories { mavenCentral() diff --git a/client/src/main/java/io/github/therepanic/funpay4j/client/FunPayClient.java b/client/src/main/java/io/github/therepanic/funpay4j/client/FunPayClient.java index fe11c5e..bef0616 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/client/FunPayClient.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/client/FunPayClient.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.client; import io.github.therepanic.funpay4j.exceptions.FunPayApiException; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClient.java b/client/src/main/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClient.java index d478efb..9cced9d 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClient.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClient.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.client; import java.io.IOException; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/client/package-info.java b/client/src/main/java/io/github/therepanic/funpay4j/client/package-info.java index 7d1a53f..d102345 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/client/package-info.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/client/package-info.java @@ -1,16 +1,2 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - @org.jspecify.annotations.NullMarked package io.github.therepanic.funpay4j.client; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/FunPayApiException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/FunPayApiException.java index 16a4a20..f1e7a6c 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/FunPayApiException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/FunPayApiException.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.exceptions; /** diff --git a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidCsrfTokenOrPHPSESSIDException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidCsrfTokenOrPHPSESSIDException.java index f342cf3..3321b68 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidCsrfTokenOrPHPSESSIDException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidCsrfTokenOrPHPSESSIDException.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.exceptions; /** diff --git a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidGoldenKeyException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidGoldenKeyException.java index 06bf2bb..5d1d651 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidGoldenKeyException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/InvalidGoldenKeyException.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.exceptions; /** diff --git a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/lot/LotNotFoundException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/lot/LotNotFoundException.java index 471fb1c..ed25a97 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/lot/LotNotFoundException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/lot/LotNotFoundException.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.exceptions.lot; /** diff --git a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferAlreadyRaisedException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferAlreadyRaisedException.java index 4bd94a5..d6ef3c4 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferAlreadyRaisedException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferAlreadyRaisedException.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.exceptions.offer; /** diff --git a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferNotFoundException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferNotFoundException.java index 3d02944..b932fc2 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferNotFoundException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/offer/OfferNotFoundException.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.exceptions.offer; /** diff --git a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/order/OrderNotFoundException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/order/OrderNotFoundException.java index e62bc80..687c710 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/order/OrderNotFoundException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/order/OrderNotFoundException.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.exceptions.order; /** diff --git a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/user/UserNotFoundException.java b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/user/UserNotFoundException.java index ecc9588..e7da811 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/exceptions/user/UserNotFoundException.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/exceptions/user/UserNotFoundException.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.exceptions.user; /** diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/CsrfTokenAndPHPSESSID.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/CsrfTokenAndPHPSESSID.java index 6c32fc5..4a8f114 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/CsrfTokenAndPHPSESSID.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/CsrfTokenAndPHPSESSID.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects; import lombok.AllArgsConstructor; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGame.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGame.java index 9db56ca..ff871a4 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGame.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGame.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.game; import java.util.List; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGameCounter.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGameCounter.java index d7a37f7..6fd2e2f 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGameCounter.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/game/ParsedPromoGameCounter.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.game; import lombok.AllArgsConstructor; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLot.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLot.java index 939b38c..34c2121 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLot.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLot.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.lot; import java.util.List; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLotCounter.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLotCounter.java index a8de2d5..4c10ab2 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLotCounter.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/lot/ParsedLotCounter.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.lot; import lombok.AllArgsConstructor; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedOffer.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedOffer.java index 6f45f0a..c99d617 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedOffer.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedOffer.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.offer; import java.util.List; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedPreviewOffer.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedPreviewOffer.java index b196492..29461a4 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedPreviewOffer.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/offer/ParsedPreviewOffer.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.offer; import lombok.AllArgsConstructor; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/order/ParsedOrder.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/order/ParsedOrder.java index db6385c..6755736 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/order/ParsedOrder.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/order/ParsedOrder.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.order; import java.util.List; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransaction.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransaction.java index 9ab9a20..6441423 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransaction.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransaction.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.transaction; import java.util.Date; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionStatus.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionStatus.java index 801802e..84a6494 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionStatus.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionStatus.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.transaction; /** diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionType.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionType.java index b51e4b9..b8fd9aa 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionType.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/transaction/ParsedTransactionType.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.transaction; /** diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedAdvancedSellerReview.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedAdvancedSellerReview.java index 0ae313c..c1419cb 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedAdvancedSellerReview.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedAdvancedSellerReview.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.user; import java.util.Date; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewSeller.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewSeller.java index 3805ab7..fb675ac 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewSeller.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewSeller.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.user; import lombok.AllArgsConstructor; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewUser.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewUser.java index d43e80c..9e0914e 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewUser.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedPreviewUser.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.user; import lombok.AllArgsConstructor; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSeller.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSeller.java index e92d563..719af81 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSeller.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSeller.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.user; import java.util.List; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSellerReview.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSellerReview.java index fd78fa5..ef21080 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSellerReview.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedSellerReview.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.user; import lombok.AllArgsConstructor; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedUser.java b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedUser.java index 4d03fdf..f034af4 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedUser.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/objects/user/ParsedUser.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.user; import java.util.Date; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/parser/FunPayParser.java b/client/src/main/java/io/github/therepanic/funpay4j/parser/FunPayParser.java index ac3d8a1..47efbc7 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/parser/FunPayParser.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/parser/FunPayParser.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.parser; import java.util.List; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParser.java b/client/src/main/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParser.java index 5c02dd3..8506924 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParser.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParser.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.parser; import java.io.IOException; @@ -361,7 +347,7 @@ public ParsedOffer parseOffer(long offerId) throws FunPayApiException, OfferNotF boolean isAutoDelivery = !funPayDocument.getElementsByClass("offer-header-auto-dlv-label").isEmpty(); - // Select a floating point number from a string like "from 1111.32 ₽" + // Select a floating point number from a string like "from 1111.32 в‚Ѕ" double price = Double.parseDouble(totalPriceValue.replaceAll("[^0-9.]", "").split("\\s+")[0]); List attachmentLinks = new ArrayList<>(); @@ -878,7 +864,7 @@ private List parseTransactionsInternal( transactionElement .getElementsByClass("tc-price") .text() - .replace("−", "-") + .replace("в€’", "-") .replaceAll("[^0-9.-]", "")); Date date = FunPayUserUtil.convertRegisterDateStringToDate( @@ -1033,7 +1019,7 @@ private void extractReviewsFromReviewsHtml( .split(", "); String lastReviewGameTitle = gameTitlePriceSplit[0]; - // Select a floating point number from a string like "from 1111.32 ₽" + // Select a floating point number from a string like "from 1111.32 в‚Ѕ" double lastReviewPrice = Double.parseDouble( gameTitlePriceSplit[gameTitlePriceSplit.length - 1].replaceAll( diff --git a/client/src/main/java/io/github/therepanic/funpay4j/parser/package-info.java b/client/src/main/java/io/github/therepanic/funpay4j/parser/package-info.java index 651b3be..5cc60aa 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/parser/package-info.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/parser/package-info.java @@ -1,16 +1,2 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - @org.jspecify.annotations.NullMarked package io.github.therepanic.funpay4j.parser; diff --git a/client/src/main/java/io/github/therepanic/funpay4j/request/SaveOfferRequest.java b/client/src/main/java/io/github/therepanic/funpay4j/request/SaveOfferRequest.java index 3376ad2..9a70c22 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/request/SaveOfferRequest.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/request/SaveOfferRequest.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.request; import java.util.List; diff --git a/client/src/test/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClientTest.java b/client/src/test/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClientTest.java index ccfcb9a..d4a7a3c 100644 --- a/client/src/test/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClientTest.java +++ b/client/src/test/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClientTest.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.client; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -117,7 +103,9 @@ void testRaiseAllOffersAlreadyRaised() throws Exception { long lotId = 149L; mockWebServer.enqueue( - new MockResponse().setBody("{\"msg\": \"Подождите...\"}").setResponseCode(200)); + new MockResponse() + .setBody("{\"msg\": \"Подождите...\"}") + .setResponseCode(200)); assertThrows( OfferAlreadyRaisedException.class, @@ -179,7 +167,8 @@ void testSaveOfferInvalidCsrfTokenOrPHPSESSID() throws Exception { mockWebServer.enqueue( new MockResponse() - .setBody("{\"msg\": \"Обновите страницу и повторите попытку.\"}") + .setBody( + "{\"msg\": \"Обновите страницу и повторите попытку.\"}") .setResponseCode(400)); assertThrows( diff --git a/client/src/test/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParserTest.java b/client/src/test/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParserTest.java index 30ada7b..50237c2 100644 --- a/client/src/test/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParserTest.java +++ b/client/src/test/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParserTest.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.parser; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutor.java b/core/src/main/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutor.java index 8f37716..523379a 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutor.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutor.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j; import java.net.Proxy; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/FunPayExecutor.java b/core/src/main/java/io/github/therepanic/funpay4j/FunPayExecutor.java index 56c301c..38f7a99 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/FunPayExecutor.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/FunPayExecutor.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j; import java.net.Proxy; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/FunPayURL.java b/core/src/main/java/io/github/therepanic/funpay4j/FunPayURL.java index ea960da..d353e70 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/FunPayURL.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/FunPayURL.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j; /** diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/game/GetPromoGames.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/game/GetPromoGames.java index badf534..fbb2339 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/game/GetPromoGames.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/game/GetPromoGames.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.game; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/lot/GetLot.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/lot/GetLot.java index 64336b1..13fdfb9 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/lot/GetLot.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/lot/GetLot.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.lot; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOffer.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOffer.java index a830a43..44aaed8 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOffer.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOffer.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.offer; import java.util.List; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOfferImage.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOfferImage.java index f602bea..398e04b 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOfferImage.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/CreateOfferImage.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.offer; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/DeleteOffer.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/DeleteOffer.java index 887f260..e9b222d 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/DeleteOffer.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/DeleteOffer.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.offer; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/EditOffer.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/EditOffer.java index 3bd8257..b03e53c 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/EditOffer.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/EditOffer.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.offer; import java.util.List; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/GetOffer.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/GetOffer.java index 572a3c4..3fb7538 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/GetOffer.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/GetOffer.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.offer; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/RaiseAllOffers.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/RaiseAllOffers.java index f947ace..ea2edc1 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/RaiseAllOffers.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/offer/RaiseAllOffers.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.offer; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/order/GetOrder.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/order/GetOrder.java index 5d7dea1..ac8ff33 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/order/GetOrder.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/order/GetOrder.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.order; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/transaction/GetTransactions.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/transaction/GetTransactions.java index 2ccab71..4cf7781 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/transaction/GetTransactions.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/transaction/GetTransactions.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.transaction; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetSellerReviews.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetSellerReviews.java index e90e0dc..e4d130c 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetSellerReviews.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetSellerReviews.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.user; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetUser.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetUser.java index f6be9e1..4ddcf2f 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetUser.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/user/GetUser.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.user; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/commands/user/UpdateAvatar.java b/core/src/main/java/io/github/therepanic/funpay4j/commands/user/UpdateAvatar.java index 366016e..fd7dd85 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/commands/user/UpdateAvatar.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/commands/user/UpdateAvatar.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.commands.user; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGame.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGame.java index a5ba25e..3d10b25 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGame.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGame.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.game; import java.util.List; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGameCounter.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGameCounter.java index 58166bb..307e9ce 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGameCounter.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/game/PromoGameCounter.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.game; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/lot/Lot.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/lot/Lot.java index 1435a6b..372be6e 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/lot/Lot.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/lot/Lot.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.lot; import java.util.List; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/lot/LotCounter.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/lot/LotCounter.java index 2ca8d9f..61e3389 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/lot/LotCounter.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/lot/LotCounter.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.lot; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/offer/Offer.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/offer/Offer.java index 9976d56..8422b77 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/offer/Offer.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/offer/Offer.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.offer; import java.util.List; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/offer/PreviewOffer.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/offer/PreviewOffer.java index 14c2485..a2e53c1 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/offer/PreviewOffer.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/offer/PreviewOffer.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.offer; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/order/Order.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/order/Order.java index 7b5bd42..8c6ca95 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/order/Order.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/order/Order.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.order; import java.util.List; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/Transaction.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/Transaction.java index a7e32d9..2cda13b 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/Transaction.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/Transaction.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.transaction; import java.util.Date; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionStatus.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionStatus.java index 6150b25..7fe7d6f 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionStatus.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionStatus.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.transaction; /** diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionType.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionType.java index c054a4f..5b722bc 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionType.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/transaction/TransactionType.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.transaction; /** diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/user/AdvancedSellerReview.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/AdvancedSellerReview.java index 7c01052..5a808ea 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/user/AdvancedSellerReview.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/AdvancedSellerReview.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.user; import java.util.Date; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewSeller.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewSeller.java index 0ca179f..d3b1f34 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewSeller.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewSeller.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.user; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewUser.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewUser.java index 964bb63..67e4f5c 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewUser.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/PreviewUser.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.user; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/user/Seller.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/Seller.java index 2b05670..49df189 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/user/Seller.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/Seller.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.user; import java.util.List; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/user/SellerReview.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/SellerReview.java index 2670d53..74d66a5 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/user/SellerReview.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/SellerReview.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.user; import lombok.AllArgsConstructor; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/objects/user/User.java b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/User.java index cb355ed..17c26b1 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/objects/user/User.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/objects/user/User.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.objects.user; import java.util.Date; diff --git a/core/src/main/java/io/github/therepanic/funpay4j/package-info.java b/core/src/main/java/io/github/therepanic/funpay4j/package-info.java index c672565..a03352c 100644 --- a/core/src/main/java/io/github/therepanic/funpay4j/package-info.java +++ b/core/src/main/java/io/github/therepanic/funpay4j/package-info.java @@ -1,16 +1,2 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - @org.jspecify.annotations.NullMarked package io.github.therepanic.funpay4j; diff --git a/core/src/test/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutorTest.java b/core/src/test/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutorTest.java index ea3ccbf..507553b 100644 --- a/core/src/test/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutorTest.java +++ b/core/src/test/java/io/github/therepanic/funpay4j/AuthorizedFunPayExecutorTest.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/core/src/test/java/io/github/therepanic/funpay4j/FunPayExecutorTest.java b/core/src/test/java/io/github/therepanic/funpay4j/FunPayExecutorTest.java index 16e152f..c800eef 100644 --- a/core/src/test/java/io/github/therepanic/funpay4j/FunPayExecutorTest.java +++ b/core/src/test/java/io/github/therepanic/funpay4j/FunPayExecutorTest.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/game/GetPromoGames.java b/examples/src/main/java/io/github/therepanic/funpay4j/game/GetPromoGames.java index e1c1316..4f6c0b8 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/game/GetPromoGames.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/game/GetPromoGames.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.game; import io.github.therepanic.funpay4j.FunPayExecutor; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/lot/GetLot.java b/examples/src/main/java/io/github/therepanic/funpay4j/lot/GetLot.java index 79513ab..98340bc 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/lot/GetLot.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/lot/GetLot.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.lot; import io.github.therepanic.funpay4j.FunPayExecutor; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOffer.java b/examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOffer.java index 16f3972..9d55734 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOffer.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOffer.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.offer; import io.github.therepanic.funpay4j.commands.offer.CreateOfferImage; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOfferImage.java b/examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOfferImage.java index 59f9778..aac437e 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOfferImage.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/offer/CreateOfferImage.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.offer; import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/offer/DeleteOffer.java b/examples/src/main/java/io/github/therepanic/funpay4j/offer/DeleteOffer.java index 5c3bd77..053475a 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/offer/DeleteOffer.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/offer/DeleteOffer.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.offer; import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/offer/EditOffer.java b/examples/src/main/java/io/github/therepanic/funpay4j/offer/EditOffer.java index ddf1072..5e8ac9f 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/offer/EditOffer.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/offer/EditOffer.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.offer; import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/offer/GetOffer.java b/examples/src/main/java/io/github/therepanic/funpay4j/offer/GetOffer.java index 598ae13..f7793b2 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/offer/GetOffer.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/offer/GetOffer.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.offer; import io.github.therepanic.funpay4j.FunPayExecutor; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/offer/RaiseAllOffers.java b/examples/src/main/java/io/github/therepanic/funpay4j/offer/RaiseAllOffers.java index 5bad610..2f32c93 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/offer/RaiseAllOffers.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/offer/RaiseAllOffers.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.offer; import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/order/GetOrder.java b/examples/src/main/java/io/github/therepanic/funpay4j/order/GetOrder.java index 5abcd19..3cd33d8 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/order/GetOrder.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/order/GetOrder.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.order; import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/transaction/GetTransactions.java b/examples/src/main/java/io/github/therepanic/funpay4j/transaction/GetTransactions.java index f7d50a4..03103c8 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/transaction/GetTransactions.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/transaction/GetTransactions.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.transaction; import io.github.therepanic.funpay4j.exceptions.FunPayApiException; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/user/GetSellerReviews.java b/examples/src/main/java/io/github/therepanic/funpay4j/user/GetSellerReviews.java index 3e7645a..da5b452 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/user/GetSellerReviews.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/user/GetSellerReviews.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.user; import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/user/GetUser.java b/examples/src/main/java/io/github/therepanic/funpay4j/user/GetUser.java index 17b0e52..22fe691 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/user/GetUser.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/user/GetUser.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.user; import io.github.therepanic.funpay4j.FunPayExecutor; diff --git a/examples/src/main/java/io/github/therepanic/funpay4j/user/UpdateAvatar.java b/examples/src/main/java/io/github/therepanic/funpay4j/user/UpdateAvatar.java index 1a81122..1ab79b3 100644 --- a/examples/src/main/java/io/github/therepanic/funpay4j/user/UpdateAvatar.java +++ b/examples/src/main/java/io/github/therepanic/funpay4j/user/UpdateAvatar.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j.user; import io.github.therepanic.funpay4j.AuthorizedFunPayExecutor; diff --git a/utils/src/main/java/io/github/therepanic/funpay4j/FunPayUserUtil.java b/utils/src/main/java/io/github/therepanic/funpay4j/FunPayUserUtil.java index a5e81fb..d39ee73 100644 --- a/utils/src/main/java/io/github/therepanic/funpay4j/FunPayUserUtil.java +++ b/utils/src/main/java/io/github/therepanic/funpay4j/FunPayUserUtil.java @@ -1,31 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j; import java.text.ParseException; @@ -173,7 +145,8 @@ public static Date convertLastSeenAtStringToDate(String lastSeenAt) throws Parse calendar.setTime(parsedDate); } else { SimpleDateFormat dateFormatWithoutYear = - new SimpleDateFormat("Был d MMMM 'в' HH:mm", Locale.forLanguageTag("ru")); + new SimpleDateFormat( + "Был d MMMM 'в' HH:mm", Locale.forLanguageTag("ru")); Date parsedDate = dateFormatWithoutYear.parse(lastSeenAt); diff --git a/utils/src/main/java/io/github/therepanic/funpay4j/package-info.java b/utils/src/main/java/io/github/therepanic/funpay4j/package-info.java index c672565..a03352c 100644 --- a/utils/src/main/java/io/github/therepanic/funpay4j/package-info.java +++ b/utils/src/main/java/io/github/therepanic/funpay4j/package-info.java @@ -1,16 +1,2 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - @org.jspecify.annotations.NullMarked package io.github.therepanic.funpay4j; diff --git a/utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilLastSeenAtConverterTest.java b/utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilLastSeenAtConverterTest.java index 2b25408..bdf73e6 100644 --- a/utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilLastSeenAtConverterTest.java +++ b/utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilLastSeenAtConverterTest.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilRegisterDateConverterTest.java b/utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilRegisterDateConverterTest.java index d4a08b4..b1cd731 100644 --- a/utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilRegisterDateConverterTest.java +++ b/utils/src/test/java/io/github/therepanic/funpay4j/FunPayUserUtilRegisterDateConverterTest.java @@ -1,17 +1,3 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - package io.github.therepanic.funpay4j; import static org.junit.jupiter.api.Assertions.assertEquals; From 7ecf624ffd6cd10ea1e1c21bb18bc9c641de76dc Mon Sep 17 00:00:00 2001 From: Andrey Litvitski Date: Sun, 19 Apr 2026 16:18:31 +0300 Subject: [PATCH 2/3] apply spotless --- .../therepanic/funpay4j/client/OkHttpFunPayClientTest.java | 7 ++----- .../java/io/github/therepanic/funpay4j/FunPayUserUtil.java | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/client/src/test/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClientTest.java b/client/src/test/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClientTest.java index d4a7a3c..d618b08 100644 --- a/client/src/test/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClientTest.java +++ b/client/src/test/java/io/github/therepanic/funpay4j/client/OkHttpFunPayClientTest.java @@ -103,9 +103,7 @@ void testRaiseAllOffersAlreadyRaised() throws Exception { long lotId = 149L; mockWebServer.enqueue( - new MockResponse() - .setBody("{\"msg\": \"Подождите...\"}") - .setResponseCode(200)); + new MockResponse().setBody("{\"msg\": \"Подождите...\"}").setResponseCode(200)); assertThrows( OfferAlreadyRaisedException.class, @@ -167,8 +165,7 @@ void testSaveOfferInvalidCsrfTokenOrPHPSESSID() throws Exception { mockWebServer.enqueue( new MockResponse() - .setBody( - "{\"msg\": \"Обновите страницу и повторите попытку.\"}") + .setBody("{\"msg\": \"Обновите страницу и повторите попытку.\"}") .setResponseCode(400)); assertThrows( diff --git a/utils/src/main/java/io/github/therepanic/funpay4j/FunPayUserUtil.java b/utils/src/main/java/io/github/therepanic/funpay4j/FunPayUserUtil.java index d39ee73..4b35090 100644 --- a/utils/src/main/java/io/github/therepanic/funpay4j/FunPayUserUtil.java +++ b/utils/src/main/java/io/github/therepanic/funpay4j/FunPayUserUtil.java @@ -145,8 +145,7 @@ public static Date convertLastSeenAtStringToDate(String lastSeenAt) throws Parse calendar.setTime(parsedDate); } else { SimpleDateFormat dateFormatWithoutYear = - new SimpleDateFormat( - "Был d MMMM 'в' HH:mm", Locale.forLanguageTag("ru")); + new SimpleDateFormat("Был d MMMM 'в' HH:mm", Locale.forLanguageTag("ru")); Date parsedDate = dateFormatWithoutYear.parse(lastSeenAt); From bb7297230b652ae48958187d5be6fdc6025aeba7 Mon Sep 17 00:00:00 2001 From: Andrey Litvitski Date: Sun, 19 Apr 2026 16:20:46 +0300 Subject: [PATCH 3/3] skill issue --- .../therepanic/funpay4j/parser/JsoupFunPayParser.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/main/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParser.java b/client/src/main/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParser.java index 8506924..60f4449 100644 --- a/client/src/main/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParser.java +++ b/client/src/main/java/io/github/therepanic/funpay4j/parser/JsoupFunPayParser.java @@ -347,7 +347,7 @@ public ParsedOffer parseOffer(long offerId) throws FunPayApiException, OfferNotF boolean isAutoDelivery = !funPayDocument.getElementsByClass("offer-header-auto-dlv-label").isEmpty(); - // Select a floating point number from a string like "from 1111.32 в‚Ѕ" + // Select a floating point number from a string like "from 1111.32 ₽" double price = Double.parseDouble(totalPriceValue.replaceAll("[^0-9.]", "").split("\\s+")[0]); List attachmentLinks = new ArrayList<>(); @@ -864,7 +864,7 @@ private List parseTransactionsInternal( transactionElement .getElementsByClass("tc-price") .text() - .replace("в€’", "-") + .replace("−", "-") .replaceAll("[^0-9.-]", "")); Date date = FunPayUserUtil.convertRegisterDateStringToDate( @@ -1019,7 +1019,7 @@ private void extractReviewsFromReviewsHtml( .split(", "); String lastReviewGameTitle = gameTitlePriceSplit[0]; - // Select a floating point number from a string like "from 1111.32 в‚Ѕ" + // Select a floating point number from a string like "from 1111.32 ₽" double lastReviewPrice = Double.parseDouble( gameTitlePriceSplit[gameTitlePriceSplit.length - 1].replaceAll(