You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2009/12/07 19:09:19 UTC

svn commit: r888062 - in /wicket/branches/wicket-1.4.4: NOTICE wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tabs/TabbedPanel.java

Author: ivaynberg
Date: Mon Dec  7 18:09:19 2009
New Revision: 888062

URL: http://svn.apache.org/viewvc?rev=888062&view=rev
Log:
backport: remove java 6 method commit

Modified:
    wicket/branches/wicket-1.4.4/NOTICE
    wicket/branches/wicket-1.4.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tabs/TabbedPanel.java

Modified: wicket/branches/wicket-1.4.4/NOTICE
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.4/NOTICE?rev=888062&r1=888061&r2=888062&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.4/NOTICE (original)
+++ wicket/branches/wicket-1.4.4/NOTICE Mon Dec  7 18:09:19 2009
@@ -12,6 +12,26 @@
     AUTOMATICALLY INCLUDE THE NOTICE IN THIS FILE.
 
 ---------------------------------------------------------------------------
+src/./wicket-guice
+---------------------------------------------------------------------------
+   Apache Wicket
+   Copyright 2007 The Apache Software Foundation
+
+   This product includes software developed at
+   The Apache Software Foundation (http://www.apache.org/).
+
+   This product includes Guice, developed at Google, and licensed
+   under the Apache License 2.0. (http://code.google.com/p/google-guice/).
+---------------------------------------------------------------------------
+src/./wicket-quickstart/NOTICE
+---------------------------------------------------------------------------
+   Apache Wicket
+   Copyright 2007 The Apache Software Foundation
+
+   This product includes software developed at
+   The Apache Software Foundation (http://www.apache.org/).
+
+---------------------------------------------------------------------------
 src/./wicket
 ---------------------------------------------------------------------------
    Apache Wicket
@@ -76,9 +96,9 @@
    [1]: http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/
 
 ---------------------------------------------------------------------------
-src/./wicket-auth-roles
+src/./wicket-jmx
 ---------------------------------------------------------------------------
-   Apache Wicket Auth Roles
+   Apache Wicket
    Copyright 2007 The Apache Software Foundation
 
    This product includes software developed at
@@ -102,6 +122,47 @@
    Joda.org (http://www.joda.org/).
    
 ---------------------------------------------------------------------------
+src/./wicket-ioc
+---------------------------------------------------------------------------
+   Apache Wicket
+   Copyright 2007 The Apache Software Foundation
+
+   This product includes software developed at
+   The Apache Software Foundation (http://www.apache.org/).
+
+---------------------------------------------------------------------------
+src/./wicket-objectssizeof-agent
+---------------------------------------------------------------------------
+   Apache Wicket
+   Copyright 2007 The Apache Software Foundation
+
+   This product includes software developed at
+   The Apache Software Foundation (http://www.apache.org/).
+
+
+---------------------------------------------------------------------------
+src/./wicket-auth-roles
+---------------------------------------------------------------------------
+   Apache Wicket Auth Roles
+   Copyright 2007 The Apache Software Foundation
+
+   This product includes software developed at
+   The Apache Software Foundation (http://www.apache.org/).
+
+---------------------------------------------------------------------------
+src/./wicket-extensions
+---------------------------------------------------------------------------
+   Apache Wicket Extensions
+   Copyright 2007 The Apache Software Foundation
+
+   This product includes software developed at
+   The Apache Software Foundation (http://www.apache.org/).
+
+   Contains software developed in Apache Turbine, released
+   under the Apache Software License, Version 2.0. 
+   (c) 2001-2005
+
+---------------------------------------------------------------------------
 src/./wicket-examples
 ---------------------------------------------------------------------------
    Apache Wicket Examples
@@ -145,67 +206,6 @@
    which is released under CDDL 1.0 license (http://www.opensource.org/licenses/cddl1.php).
 
 ---------------------------------------------------------------------------
-src/./wicket-extensions
----------------------------------------------------------------------------
-   Apache Wicket Extensions
-   Copyright 2007 The Apache Software Foundation
-
-   This product includes software developed at
-   The Apache Software Foundation (http://www.apache.org/).
-
-   Contains software developed in Apache Turbine, released
-   under the Apache Software License, Version 2.0. 
-   (c) 2001-2005
-
----------------------------------------------------------------------------
-src/./wicket-guice
----------------------------------------------------------------------------
-   Apache Wicket
-   Copyright 2007 The Apache Software Foundation
-
-   This product includes software developed at
-   The Apache Software Foundation (http://www.apache.org/).
-
-   This product includes Guice, developed at Google, and licensed
-   under the Apache License 2.0. (http://code.google.com/p/google-guice/).
----------------------------------------------------------------------------
-src/./wicket-ioc
----------------------------------------------------------------------------
-   Apache Wicket
-   Copyright 2007 The Apache Software Foundation
-
-   This product includes software developed at
-   The Apache Software Foundation (http://www.apache.org/).
-
----------------------------------------------------------------------------
-src/./wicket-jmx
----------------------------------------------------------------------------
-   Apache Wicket
-   Copyright 2007 The Apache Software Foundation
-
-   This product includes software developed at
-   The Apache Software Foundation (http://www.apache.org/).
-
----------------------------------------------------------------------------
-src/./wicket-objectssizeof-agent
----------------------------------------------------------------------------
-   Apache Wicket
-   Copyright 2007 The Apache Software Foundation
-
-   This product includes software developed at
-   The Apache Software Foundation (http://www.apache.org/).
-
-
----------------------------------------------------------------------------
-src/./wicket-quickstart/NOTICE
----------------------------------------------------------------------------
-   Apache Wicket
-   Copyright 2007 The Apache Software Foundation
-
-   This product includes software developed at
-   The Apache Software Foundation (http://www.apache.org/).
-
----------------------------------------------------------------------------
 src/./wicket-spring
 ---------------------------------------------------------------------------
    Apache Wicket

Modified: wicket/branches/wicket-1.4.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tabs/TabbedPanel.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tabs/TabbedPanel.java?rev=888062&r1=888061&r2=888062&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tabs/TabbedPanel.java (original)
+++ wicket/branches/wicket-1.4.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tabs/TabbedPanel.java Mon Dec  7 18:09:19 2009
@@ -387,7 +387,9 @@
 
 		if (tabsVisibilityCache.length < tabIndex + 1)
 		{
-			tabsVisibilityCache = Arrays.copyOf(tabsVisibilityCache, tabIndex + 1);
+			Boolean[] resized = new Boolean[tabIndex + 1];
+			System.arraycopy(tabsVisibilityCache, 0, resized, 0, tabsVisibilityCache.length);
+			tabsVisibilityCache = resized;
 		}
 
 		if (tabsVisibilityCache.length > 0)