Skip to content

Conversation

@labkey-adam
Copy link
Contributor

Rationale

Address some IntelliJ warnings and other miscellaneous nits. No functional changes.

@labkey-adam labkey-adam requested a review from a team December 30, 2025 00:28
}
}

@Deprecated // Use IntegerUtils.asLong() instead
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this method just call IntegerUtils.asLong()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably... I'm double checking with Matt just in case I'm missing something

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These methods have been updated to call their IntegerUtils counterparts

return null==o ? null : o.getClass() == Long.class ? (Long)o : ((Number)o).longValue();
}

@Deprecated // Use IntegerUtils.asLong() instead
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably you meant IntegerUtils.asInteger() and same question here as above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, corrected.

@labkey-adam labkey-adam merged commit 996bdea into develop Dec 30, 2025
7 checks passed
@labkey-adam labkey-adam deleted the fb_misc_warnings branch December 30, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants