spring-projects / spring-projects/spring-batch

AbstractPagingItemReader.doReadPage add throws Exception [BATCH-2420]

Open
#1,183 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: infrastructure status: waiting-for-reporter status: waiting-for-triage type: enhancement
Dominant language
Java
Stars
3k
Forks
2.5k
Avg merge
6d 53m
Merged PRs (30d)
3

Description

Viacheslav Dobromyslov opened BATCH-2420 and commented

Now in class AbstractPagingItemReader:

abstract protected void doReadPage();

Change to:

abstract protected void doReadPage() throws Exception;

Affects: 3.0.4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the AbstractPagingItemReader class and inspect the doReadPage declaration. Update the declaration to allow Exception as specified in the issue, then check the project’s Java compilation and relevant reader tests to confirm that the change is compatible with its subclasses.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.