Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change groupid #355

Merged
merged 13 commits into from
Jan 11, 2023
Merged

Change groupid #355

merged 13 commits into from
Jan 11, 2023

Conversation

Katsute
Copy link
Member

@Katsute Katsute commented Jan 7, 2023

Prerequisites

Issues must meet the following criteria:

  • No similar pull request exists.
  • Code follows the general code style of this project.
  • No sensitive information is exposed.
  • Relevant comments have been added.

GitHub Copilot Disclaimer

The use of GitHub Copilot is strictly prohibited on this repository.

  • This pull does not use GitHub Copilot.

Changes Made

List any changes made and/or other relevant issues.

WF-3897071556

Release Notes

🛑 This major update includes breaking changes 🛑

  • Changed groupid from com.kttdevelopment to dev.katsute
  • Changed package from com.kttdevelopment to dev.katsute
  • Moved exceptions from com.kttdevelopment.mal4j to dev.katsute.mal4j.exceptions
  • Anime/Manga start/end dates now return NullableDate instead of a Date

To bring your code up to date:

  • Change the dependency groupid from com.kttdevelopment to dev.katsute
  • Replace all import com.kttdevelopment.mal4j with import dev.katsute.mal4j
  • Exceptions are now imported from dev.katsute.mal4j.exceptions, fix this import manually

[skip ci]
This reverts commit ddadf13.
@@ -35,7 +35,7 @@
* @version 1.0.0
* @author Katsute
*/
public interface FullMediaItem<MediaType extends Enum<?>,Status extends Enum<?>,ListStatus extends com.kttdevelopment.mal4j.property.ListStatus<?>,Recommendation extends com.kttdevelopment.mal4j.property.Recommendation,Statistics extends com.kttdevelopment.mal4j.property.Statistics> extends MediaItem<MediaType,Status,ListStatus> {
public interface FullMediaItem<MediaType extends Enum<?>,Status extends Enum<?>,ListStatus extends dev.katsute.mal4j.property.ListStatus<?>,Recommendation extends dev.katsute.mal4j.property.Recommendation,Statistics extends dev.katsute.mal4j.property.Statistics> extends MediaItem<MediaType,Status,ListStatus> {

Check notice

Code scanning / CodeQL

Class has same name as super class

Statistics has the same name as its supertype [dev.katsute.mal4j.property.Statistics](1).
@@ -35,7 +35,7 @@
* @version 1.0.0
* @author Katsute
*/
public interface FullMediaItem<MediaType extends Enum<?>,Status extends Enum<?>,ListStatus extends com.kttdevelopment.mal4j.property.ListStatus<?>,Recommendation extends com.kttdevelopment.mal4j.property.Recommendation,Statistics extends com.kttdevelopment.mal4j.property.Statistics> extends MediaItem<MediaType,Status,ListStatus> {
public interface FullMediaItem<MediaType extends Enum<?>,Status extends Enum<?>,ListStatus extends dev.katsute.mal4j.property.ListStatus<?>,Recommendation extends dev.katsute.mal4j.property.Recommendation,Statistics extends dev.katsute.mal4j.property.Statistics> extends MediaItem<MediaType,Status,ListStatus> {

Check notice

Code scanning / CodeQL

Class has same name as super class

Recommendation has the same name as its supertype [dev.katsute.mal4j.property.Recommendation](1).
}
});

private final Integer year = requireNonNull(() -> Integer.valueOf(parts[0]));

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException

Potential uncaught 'java.lang.NumberFormatException'.
});

private final Integer year = requireNonNull(() -> Integer.valueOf(parts[0]));
private final Integer month = requireNonNull(() -> Integer.valueOf(parts[1]));

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException

Potential uncaught 'java.lang.NumberFormatException'.

private final Integer year = requireNonNull(() -> Integer.valueOf(parts[0]));
private final Integer month = requireNonNull(() -> Integer.valueOf(parts[1]));
private final Integer day = requireNonNull(() -> Integer.valueOf(parts[2]));

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException

Potential uncaught 'java.lang.NumberFormatException'.
@Katsute Katsute marked this pull request as ready for review January 8, 2023 21:45
@Katsute

This comment has been minimized.

@ghost

This comment has been minimized.

@Katsute

This comment has been minimized.

@ghost

This comment has been minimized.

@Katsute

This comment has been minimized.

@ghost

This comment has been minimized.

@Katsute

This comment has been minimized.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Katsute I have approved this pull request

@Katsute Katsute merged commit 8c3c8d5 into main Jan 11, 2023
@Katsute Katsute deleted the v3@a1f4881 branch January 11, 2023 22:24
@ghost ghost locked and limited conversation to collaborators Jan 11, 2023
@Katsute Katsute changed the title v3 Change groupid Jan 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make start and end date return a custom class instead of date Migrate group id to dev.katsute
1 participant