Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AC6C1200C05 for ; Mon, 23 Jan 2017 15:54:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id AB1C0160B49; Mon, 23 Jan 2017 14:54:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 22132160B3E for ; Mon, 23 Jan 2017 15:54:50 +0100 (CET) Received: (qmail 9879 invoked by uid 500); 23 Jan 2017 14:54:50 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 9870 invoked by uid 99); 23 Jan 2017 14:54:50 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2017 14:54:50 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id A7E573A0EDB for ; Mon, 23 Jan 2017 14:54:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1779938 - /commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/ElementAttributes.java Date: Mon, 23 Jan 2017 14:54:49 -0000 To: commits@commons.apache.org From: tv@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170123145449.A7E573A0EDB@svn01-us-west.apache.org> archived-at: Mon, 23 Jan 2017 14:54:51 -0000 Author: tv Date: Mon Jan 23 14:54:49 2017 New Revision: 1779938 URL: http://svn.apache.org/viewvc?rev=1779938&view=rev Log: Fix creation time not updating during clone() Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/ElementAttributes.java Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/ElementAttributes.java URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/ElementAttributes.java?rev=1779938&r1=1779937&r2=1779938&view=diff ============================================================================== --- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/ElementAttributes.java (original) +++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/ElementAttributes.java Mon Jan 23 14:54:49 2017 @@ -446,7 +446,9 @@ public class ElementAttributes { try { - return (IElementAttributes)super.clone(); + ElementAttributes c = (ElementAttributes) super.clone(); + c.setCreateTime(); + return c; } catch (CloneNotSupportedException e) {