tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshcanfi...@apache.org
Subject svn commit: r1139149 - /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/DateFieldStack.java
Date Fri, 24 Jun 2011 03:47:48 GMT
Author: joshcanfield
Date: Fri Jun 24 03:47:48 2011
New Revision: 1139149

URL: http://svn.apache.org/viewvc?rev=1139149&view=rev
Log:
Cleanup "warning: non-varargs call of varargs method with inexact argument type for last parameter"

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/DateFieldStack.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/DateFieldStack.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/DateFieldStack.java?rev=1139149&r1=1139148&r2=1139149&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/DateFieldStack.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/javascript/DateFieldStack.java
Fri Jun 24 03:47:48 2011
@@ -75,7 +75,7 @@ public class DateFieldStack implements J
 
         DateFormatSymbols symbols = new DateFormatSymbols(locale);
 
-        spec.put("months", new JSONArray(symbols.getMonths()));
+        spec.put("months", new JSONArray((Object[])symbols.getMonths()));
 
         StringBuilder days = new StringBuilder();
 



Mime
View raw message