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

[CBRD-25298] trim class and method names of the target method #5104

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

hyunikn
Copy link
Contributor

@hyunikn hyunikn commented Apr 9, 2024

http://jira.cubrid.org/browse/CBRD-25298

. trim the class name and the method name before search for the method by reflection
. use familiar type names of parameter types in the error messages of NoSuchMethod

…hod by reflection

(2) use familiar type names of parameter types in the error messages of NoSuchMethod
@hyunikn hyunikn requested review from hgryoo and ctshim April 9, 2024 08:47
@hyunikn hyunikn marked this pull request as ready for review April 9, 2024 08:49
@hyunikn hyunikn requested a review from beyondykk9 as a code owner April 9, 2024 08:49
Comment on lines 218 to 221
List<String> argTypeNameList =
Arrays.stream(argsTypes)
.map(cl -> cl.getTypeName())
.collect(Collectors.toList());
Copy link
Member

Choose a reason for hiding this comment

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

trivial: please note that target JDK version of CUBRID 10.2 and 11.0 is 6. Arrays.stream() doesn't support on JDK 6. some additional works needs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK. Thank you.

@hyunikn hyunikn merged commit c249ff0 into CUBRID:develop Apr 11, 2024
10 checks passed
@hyunikn hyunikn deleted the CBRD-25298-blanks-after-sp-name branch April 11, 2024 00:44
hyunikn added a commit to hyunikn/cubrid that referenced this pull request Apr 11, 2024
…#5104)

* (1) trim the class name and the method name before search for the method by reflection
(2) use familiar type names of parameter types in the error messages of NoSuchMethod

* rewrite code without the Java 8 Stream feature
hyunikn added a commit to hyunikn/cubrid that referenced this pull request Apr 11, 2024
…#5104)

* (1) trim the class name and the method name before search for the method by reflection
(2) use familiar type names of parameter types in the error messages of NoSuchMethod

* rewrite code without the Java 8 Stream feature
hyunikn added a commit to hyunikn/cubrid that referenced this pull request Apr 11, 2024
…#5104)

* (1) trim the class name and the method name before search for the method by reflection
(2) use familiar type names of parameter types in the error messages of NoSuchMethod

* rewrite code without the Java 8 Stream feature
hyunikn added a commit that referenced this pull request Apr 12, 2024
* [CBRD-25298] trim class and method names of the target method (#5104)

. trim the class name and the method name before search for the method by reflection
. use familiar type names of parameter types in the error messages of NoSuchMethod
hyunikn added a commit that referenced this pull request May 7, 2024
* [CBRD-25298] trim class and method names of the target method (#5104)

* (1) trim the class name and the method name before search for the method by reflection
(2) use familiar type names of parameter types in the error messages of NoSuchMethod

* rewrite code without the Java 8 Stream feature

* minor: removed an unused line
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