Commit c20d0b0
Avoid looping through all the page tree if there is no destination page (spring-projects#3396)
* Avoid looping through all the page tree if there is no destination page
Fixes: spring-projects#3396
Auto-cherry-pick to 1.0.x
Signed-off-by: torakiki <[email protected]>
Signed-off-by: minsoo.nam <[email protected]>1 parent 5c20ac7 commit c20d0b0
File tree
1 file changed
+7
-5
lines changed- document-readers/pdf-reader/src/main/java/org/springframework/ai/reader/pdf/config
1 file changed
+7
-5
lines changedLines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
| |||
0 commit comments