[ 
https://issues.apache.org/jira/browse/PDFBOX-6387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18155696#comment-18155696
 ] 

ASF subversion and git services commented on PDFBOX-6387:
---------------------------------------------------------

Commit 1941399 from Tilman Hausherr in branch 'pdfbox/branches/3.0'
[ https://svn.apache.org/r1941399 ]

PDFBOX-6387: adjust implementation to javadoc

> MemoryUsageSetting.setupMixed's javadoc names two equivalences, and neither 
> holds
> ---------------------------------------------------------------------------------
>
>                 Key: PDFBOX-6387
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6387
>             Project: PDFBox
>          Issue Type: Sub-task
>          Components: Documentation, IO
>    Affects Versions: 3.0.8 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 3.0.9 PDFBox, 4.0.0
>
>
> The javadoc and these 4 parameters and the implementation are confusing:
> {noformat}
> setupMixed(-1)         mainMem=true  tempFile=true  memRestricted=false 
> maxMem=-1 maxStore=-1
> setupMainMemoryOnly()  mainMem=true  tempFile=false memRestricted=false 
> maxMem=-1 maxStore=-1
> setupMixed(0)          mainMem=false tempFile=true  memRestricted=true  
> maxMem=0  maxStore=-1
> setupTempFileOnly()    mainMem=false tempFile=true  memRestricted=false 
> maxMem=-1 maxStore=-1
> {noformat}
> Copilot recommends to change the javadoc, I prefer to adjust the 
> implementation.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

  • [jira] [Commented] (PDFBOX-... ASF subversion and git services (Jira) via dev

Reply via email to