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

HHH-17357 Add hibernate-types module with pgvector support #7506

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

beikov
Copy link
Contributor

@beikov beikov commented Nov 6, 2023

int commaIndex;
int index = 0;
while ( ( commaIndex = commaPositions.nextSetBit( floatStartIndex ) ) != -1 ) {
result[index++] = Float.parseFloat( string.substring( floatStartIndex, commaIndex ) );

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.
result[index++] = Float.parseFloat( string.substring( floatStartIndex, commaIndex ) );
floatStartIndex = commaIndex + 1;
}
result[index] = Float.parseFloat( string.substring( floatStartIndex, string.length() - 1 ) );

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

CodeQL found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

@beikov beikov added the tck label Nov 7, 2023
@beikov beikov merged commit 6bbf589 into hibernate:main Nov 7, 2023
22 of 23 checks passed
@beikov beikov deleted the HHH-17357 branch May 22, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant