[
https://issues.apache.org/jira/browse/DERBY-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991995#comment-12991995
]
Dag H. Wanvik commented on DERBY-5011:
--------------------------------------
Yes, in existing code, the second '-' in the '--' give rise to an
*extra* '-' token, which is ignored with the rest of the comment, so
no harm is done. Also, a single '-' (erroneously translated to '/') will
not cause harm in this situation, but nice to get the code right.
Copy/paste error, in deed.
> [patch] fix bad attempt at incrementing a variable
> --------------------------------------------------
>
> Key: DERBY-5011
> URL: https://issues.apache.org/jira/browse/DERBY-5011
> Project: Derby
> Issue Type: Bug
> Components: Network Client
> Affects Versions: 10.7.1.1
> Reporter: Dave Brosius
> Priority: Trivial
> Fix For: 10.8.0.0
>
> Attachments: fix_bad_increment.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> code does
> idx = idx++;
> but this does absolutely nothing
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira