You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2011/06/24 02:19:15 UTC

svn commit: r1139129 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewDateCellRenderer.java

Author: smartini
Date: Fri Jun 24 00:19:15 2011
New Revision: 1139129

URL: http://svn.apache.org/viewvc?rev=1139129&view=rev
Log:
small fix, as seen by FindBugs

Modified:
    pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewDateCellRenderer.java

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewDateCellRenderer.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewDateCellRenderer.java?rev=1139129&r1=1139128&r2=1139129&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewDateCellRenderer.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewDateCellRenderer.java Fri Jun 24 00:19:15 2011
@@ -34,7 +34,7 @@ public class TableViewDateCellRenderer e
     protected static final DateFormat DEFAULT_DATE_FORMAT = DateFormat.getDateInstance();
 
     public DateFormat getDateFormat() {
-        return dateFormat;
+        return (DateFormat) dateFormat.clone();
     }
 
     public void setDateFormat(DateFormat dateFormat) {