-
Notifications
You must be signed in to change notification settings - Fork 362
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
New Methods are missing in String Class #313
Comments
We tend to add methods to model classes when needed. Some of these functions are not so widely used. If someone provides a pull request that also has a unit test to cover the new method, we will of course gladly merge it. |
for this, we first need to add the methods in the model class and then unit test is that right? |
You would normally add the unit test first, to see that the unit test fails (and thus achieves something). The newly added method at step 2 would then fix the unit test. |
Please assign me |
I think there is no need, as this issue has not been active. You can make one PR for several missing methods or several PRs with one or a few methods each, whatever suits you best. Please ensure that in each PR, all missing methods are used by at least one test case that also checks the result of the method. |
Java 11 adds a few new methods to the String class: isBlank, lines, strip, stripLeading, stripTrailing, and repeat.
These methods are missing in this path
jpf-core/src/classes/java/lang/String.java
which is supported by java 11The text was updated successfully, but these errors were encountered: