You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Amend (JIRA)" <ji...@apache.org> on 2015/04/14 18:26:12 UTC

[jira] [Resolved] (OLINGO-613) CommonODataProperty.getProperty() does not break when it has found property it is looking for.

     [ https://issues.apache.org/jira/browse/OLINGO-613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Amend resolved OLINGO-613.
------------------------------------
       Resolution: Fixed
    Fix Version/s: (Java) V4 4.0.0-beta-03

Fixed with commit: https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=29e2833541052c895490a1bb85ba8db2eeb6e1c6

> CommonODataProperty.getProperty() does not break when it has found property it is looking for.
> ----------------------------------------------------------------------------------------------
>
>                 Key: OLINGO-613
>                 URL: https://issues.apache.org/jira/browse/OLINGO-613
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-commons
>    Affects Versions: (Java) V4 4.0.0-beta-02
>            Reporter: Mike Laursen
>            Assignee: Christian Amend
>            Priority: Minor
>              Labels: performance
>             Fix For: (Java) V4 4.0.0-beta-03
>
>
> In the CommonODataProperty.getProperty() method, in the case where the property is found, the for loop continues to loop through all of the remaining properties. It should break and return, for the sake of efficiency.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)