You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 11
The text was updated successfully, but these errors were encountered:
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.
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.
The pull request then includes both the new test and new method (or class). You can commit your code in between steps without making a pull request.
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: