Skip to content

Commit

Permalink
style: format code with Google Java Format
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 10286cb according to the output
from Google Java Format.

Details: #115
  • Loading branch information
deepsource-autofix[bot] authored Apr 17, 2024
1 parent 10286cb commit 58fafed
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class MALTrackerProvider extends SuwayomiProvider {

/**
* Creates a new {@link MALTrackerProvider} with the given parameters.
*
* @param suwayomiAPI the {@link SuwayomiTrackingService} to use for tracking on Suwayomi
* @param malAPI the {@link MyAnimeListAPIService} to use for getting data from MAL
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ public class AniListMangaStatistics implements MangaStatistics {
/**
* Creates a new {@link AniListMangaStatistics} object with the given parameters.
*
* @param status The status of the manga on AniList.
* @param progress The number of chapters read by the user.
* @param score The score the user gave to the manga.
* @param startedAt The date the user started reading the manga.
* @param status The status of the manga on AniList.
* @param progress The number of chapters read by the user.
* @param score The score the user gave to the manga.
* @param startedAt The date the user started reading the manga.
* @param completedAt The date the user completed the manga.
*/
public AniListMangaStatistics(
Expand Down Expand Up @@ -76,10 +76,10 @@ public boolean equals(Object obj) {
}
var that = (AniListMangaStatistics) obj;
return Objects.equals(this.status, that.status)
&& this.progress == that.progress
&& this.score == that.score
&& Objects.equals(this.startedAt, that.startedAt)
&& Objects.equals(this.completedAt, that.completedAt);
&& this.progress == that.progress
&& this.score == that.score
&& Objects.equals(this.startedAt, that.startedAt)
&& Objects.equals(this.completedAt, that.completedAt);
}

@Override
Expand All @@ -90,20 +90,20 @@ public int hashCode() {
@Override
public String toString() {
return "AniListMangaStatistics["
+ "status="
+ status
+ ", "
+ "progress="
+ progress
+ ", "
+ "score="
+ score
+ ", "
+ "startedAt="
+ startedAt
+ ", "
+ "completedAt="
+ completedAt
+ ']';
+ "status="
+ status
+ ", "
+ "progress="
+ progress
+ ", "
+ "score="
+ score
+ ", "
+ "startedAt="
+ startedAt
+ ", "
+ "completedAt="
+ completedAt
+ ']';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ public class MALMangaStatistics implements MangaStatistics {
/**
* Creates a new {@link MALMangaStatistics} object with the given parameters.
*
* @param status The status of the manga on MyAnimeList.
* @param progress The number of chapters read by the user.
* @param score The score the user gave to the manga.
* @param startedAt The date the user started reading the manga.
* @param status The status of the manga on MyAnimeList.
* @param progress The number of chapters read by the user.
* @param score The score the user gave to the manga.
* @param startedAt The date the user started reading the manga.
* @param completedAt The date the user completed the manga.
*/
public MALMangaStatistics(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public class MangaService {

/**
* Creates a new MangaService.
*
* @param mangaClient the {@link MangaClient} to use for fetching manga data
* @param downloadCLient the {@link DownloadClient} to use for downloading chapters
* @param suwayomiTrackingService the {@link SuwayomiTrackingService} to use for tracking progress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class ReadingView extends StandardLayout
/**
* Creates a new ReadingView and sets it to full screen.
*
* @param mangaService The {@link MangaService} to use for fetching manga.
* @param mangaService The {@link MangaService} to use for fetching manga.
* @param settingsService The {@link SettingsService} to use for managing settings.
*/
public ReadingView(MangaService mangaService, SettingsService settingsService) {
Expand Down

0 comments on commit 58fafed

Please sign in to comment.