felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-4457) org.apache.felix.utils.properties will save key=value on top of comments if the original properties file are all comments
Date Fri, 14 Mar 2014 08:35:42 GMT

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

Freeman Fang commented on FELIX-4457:
-------------------------------------

commit fix
http://svn.apache.org/r1577060

> org.apache.felix.utils.properties will save key=value on top of comments if the original
properties file are all comments
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-4457
>                 URL: https://issues.apache.org/jira/browse/FELIX-4457
>             Project: Felix
>          Issue Type: Bug
>          Components: Utils
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>
> for example if the properties file looks like
> {code}
> #
> # just a comment
> #
> {code}
> then if we add a property into this file and save it we get something like
> {code}
> key1 = value1
> #
> # just a comment
> #
> {code}
> we should get
> {code}
> #
> # just a comment
> #
> key1 = value1
> {code}
> instead



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message