He-Pin opened a new pull request, #1723:
URL: https://github.com/apache/pekko-connectors/pull/1723

   ## Summary
   - Convert geode test data classes (`Animal`, `Person`) to Java 16+ records
   - Use `String.lines()` (Java 11+) replacing manual `split("\n")` + `flatMap`
   - Update all callers to use record accessor syntax (`p.id()` instead of 
`p.getId()`)
   
   ## Changes
   
   ### Records (Java 16+)
   - `geode/src/test/java/docs/javadsl/Animal.java` → `record Animal(String id, 
String name, String owner)`
   - `geode/src/test/java/docs/javadsl/Person.java` → `record Person(String id, 
String name, LocalDate birthDate)`
   - `AnimalPdxSerializer.java` — 3 getter calls updated
   - `PersonPdxSerializer.java` — 3 getter calls updated
   - `GeodeContinuousSourceTestCase.java` — 1 getter call updated
   
   ### String.lines() (Java 11+)
   - `hdfs/src/test/java/docs/javadsl/HdfsWriterTest.java` — `.map(s -> 
s.split("\n")).flatMap(Arrays::stream)` → `.flatMap(String::lines)`
   
   ## Notes
   - All changes in test code only, no production API modifications


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to