Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C77C710A93 for ; Thu, 13 Mar 2014 07:18:55 +0000 (UTC) Received: (qmail 98582 invoked by uid 500); 13 Mar 2014 07:18:51 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 98328 invoked by uid 500); 13 Mar 2014 07:18:47 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 97540 invoked by uid 99); 13 Mar 2014 07:18:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2014 07:18:43 +0000 Date: Thu, 13 Mar 2014 07:18:43 +0000 (UTC) From: "Freeman Fang (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FELIX-4457) org.apache.felix.utils.properties will save key=value on top of comments if the original properties file are all comments MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Freeman Fang created FELIX-4457: ----------------------------------- Summary: 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 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)