db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-5011) [patch] fix bad attempt at incrementing a variable
Date Tue, 08 Feb 2011 15:04:57 GMT

    [ 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

        

Mime
View raw message