You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2007/10/08 10:46:50 UTC
[jira] Created: (DERBY-3113) Use Arrays.fill() in
StoredPage.clearSection()
Use Arrays.fill() in StoredPage.clearSection()
----------------------------------------------
Key: DERBY-3113
URL: https://issues.apache.org/jira/browse/DERBY-3113
Project: Derby
Issue Type: Improvement
Components: Store
Affects Versions: 10.4.0.0
Reporter: Knut Anders Hatlen
Priority: Trivial
StoredPage.clearSection() could be implemented as a simple call to Arrays.fill(pageData, offset, offset+length, 0).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-3113) Use Arrays.fill() in
StoredPage.clearSection()
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-3113:
--------------------------------------
Attachment: d3113.diff
Attached is a simple patch which replaces the loop in clearSection() with a call to Arrays.fill(). Derbyall and suites.All passed.
> Use Arrays.fill() in StoredPage.clearSection()
> ----------------------------------------------
>
> Key: DERBY-3113
> URL: https://issues.apache.org/jira/browse/DERBY-3113
> Project: Derby
> Issue Type: Improvement
> Components: Store
> Affects Versions: 10.4.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Trivial
> Attachments: d3113.diff
>
>
> StoredPage.clearSection() could be implemented as a simple call to Arrays.fill(pageData, offset, offset+length, 0).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-3113) Use Arrays.fill() in
StoredPage.clearSection()
Posted by "Thomas Nielsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534243 ]
Thomas Nielsen commented on DERBY-3113:
---------------------------------------
Patch looks good. Good catch on the missing javadoc.
> Use Arrays.fill() in StoredPage.clearSection()
> ----------------------------------------------
>
> Key: DERBY-3113
> URL: https://issues.apache.org/jira/browse/DERBY-3113
> Project: Derby
> Issue Type: Improvement
> Components: Store
> Affects Versions: 10.4.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Trivial
> Attachments: d3113.diff
>
>
> StoredPage.clearSection() could be implemented as a simple call to Arrays.fill(pageData, offset, offset+length, 0).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-3113) Use Arrays.fill() in
StoredPage.clearSection()
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-3113:
--------------------------------------
Derby Info: [Patch Available]
> Use Arrays.fill() in StoredPage.clearSection()
> ----------------------------------------------
>
> Key: DERBY-3113
> URL: https://issues.apache.org/jira/browse/DERBY-3113
> Project: Derby
> Issue Type: Improvement
> Components: Store
> Affects Versions: 10.4.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Trivial
> Attachments: d3113.diff
>
>
> StoredPage.clearSection() could be implemented as a simple call to Arrays.fill(pageData, offset, offset+length, 0).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (DERBY-3113) Use Arrays.fill() in
StoredPage.clearSection()
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen reassigned DERBY-3113:
-----------------------------------------
Assignee: Knut Anders Hatlen
> Use Arrays.fill() in StoredPage.clearSection()
> ----------------------------------------------
>
> Key: DERBY-3113
> URL: https://issues.apache.org/jira/browse/DERBY-3113
> Project: Derby
> Issue Type: Improvement
> Components: Store
> Affects Versions: 10.4.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Trivial
>
> StoredPage.clearSection() could be implemented as a simple call to Arrays.fill(pageData, offset, offset+length, 0).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DERBY-3113) Use Arrays.fill() in
StoredPage.clearSection()
Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen closed DERBY-3113.
-------------------------------------
Resolution: Fixed
Fix Version/s: 10.4.0.0
Derby Info: (was: [Patch Available])
Thanks for looking at the patch, Thomas! Committed revision 584093.
> Use Arrays.fill() in StoredPage.clearSection()
> ----------------------------------------------
>
> Key: DERBY-3113
> URL: https://issues.apache.org/jira/browse/DERBY-3113
> Project: Derby
> Issue Type: Improvement
> Components: Store
> Affects Versions: 10.4.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Trivial
> Fix For: 10.4.0.0
>
> Attachments: d3113.diff
>
>
> StoredPage.clearSection() could be implemented as a simple call to Arrays.fill(pageData, offset, offset+length, 0).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.