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

New lib support for string ignore case ops and preserving line separators #5299

Merged
merged 6 commits into from Jun 27, 2022

Commits on Jun 27, 2022

  1. strings: Add methods to perform startsWith and endsWith ignoring case

    These can be useful to avoid creating a new lower case string for
    case insensitive startsWith/endsWith interrogations.
    
    Signed-off-by: BJ Hargrave <bj@hargrave.dev>
    bjhargrave committed Jun 27, 2022
    Copy the full SHA
    52301f0 View commit details
    Browse the repository at this point in the history
  2. strings: Use new startsWith and endsWith ignore case methods

    Signed-off-by: BJ Hargrave <bj@hargrave.dev>
    bjhargrave committed Jun 27, 2022
    Copy the full SHA
    f891cb9 View commit details
    Browse the repository at this point in the history
  3. io: Use own stream method

    Signed-off-by: BJ Hargrave <bj@hargrave.dev>
    bjhargrave committed Jun 27, 2022
    Copy the full SHA
    3f8301f View commit details
    Browse the repository at this point in the history
  4. io: Define a BufferedReader subclass for preserving line separators

    The actual line ending for each read line can be used when writing out
    the line.
    
    Signed-off-by: BJ Hargrave <bj@hargrave.dev>
    bjhargrave committed Jun 27, 2022
    Copy the full SHA
    d6a319d View commit details
    Browse the repository at this point in the history
  5. Use BufferedReader.lines() to process all lines

    This method was added in Java 8.
    
    Signed-off-by: BJ Hargrave <bj@hargrave.dev>
    bjhargrave committed Jun 27, 2022
    Copy the full SHA
    278a431 View commit details
    Browse the repository at this point in the history
  6. lib: Avoid double buffering

    Signed-off-by: BJ Hargrave <bj@hargrave.dev>
    bjhargrave committed Jun 27, 2022
    Copy the full SHA
    6f76ee8 View commit details
    Browse the repository at this point in the history