Author: mgrigorov
Date: Mon Dec 19 15:38:15 2011
New Revision: 1220804

URL: http://svn.apache.org/viewvc?rev=1220804&view=rev
Log:
Rename local variables


Modified:
    
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/resource/CoreLibrariesContributor.java

Modified: 
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/resource/CoreLibrariesContributor.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/resource/CoreLibrariesContributor.java?rev=1220804&r1=1220803&r2=1220804&view=diff
==============================================================================
--- 
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/resource/CoreLibrariesContributor.java
 (original)
+++ 
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/resource/CoreLibrariesContributor.java
 Mon Dec 19 15:38:15 2011
@@ -42,8 +42,8 @@ public class CoreLibrariesContributor
         */
        public static void contribute(final Application application, final 
IHeaderResponse response)
        {
-               IJavaScriptLibrarySettings ajaxSettings = 
application.getJavaScriptLibrarySettings();
-               ResourceReference wicketEventReference = 
ajaxSettings.getWicketEventReference();
+               IJavaScriptLibrarySettings jsLibrarySettings = 
application.getJavaScriptLibrarySettings();
+               ResourceReference wicketEventReference = 
jsLibrarySettings.getWicketEventReference();
                
response.render(JavaScriptHeaderItem.forReference(wicketEventReference));
        }
 
@@ -60,14 +60,14 @@ public class CoreLibrariesContributor
        {
                CoreLibrariesContributor.contribute(application, response);
 
-               IJavaScriptLibrarySettings ajaxSettings = 
application.getJavaScriptLibrarySettings();
-               ResourceReference wicketAjaxReference = 
ajaxSettings.getWicketAjaxReference();
+               IJavaScriptLibrarySettings jsLibrarySettings = 
application.getJavaScriptLibrarySettings();
+               ResourceReference wicketAjaxReference = 
jsLibrarySettings.getWicketAjaxReference();
                
response.render(JavaScriptHeaderItem.forReference(wicketAjaxReference));
 
                final IDebugSettings debugSettings = 
application.getDebugSettings();
                if (debugSettings.isAjaxDebugModeEnabled())
                {
-                       
response.render(JavaScriptHeaderItem.forReference(ajaxSettings.getWicketAjaxDebugReference()));
+                       
response.render(JavaScriptHeaderItem.forReference(jsLibrarySettings.getWicketAjaxDebugReference()));
                        
response.render(JavaScriptHeaderItem.forScript("Wicket.Ajax.DebugWindow.enabled=true;",
                                "wicket-ajax-debug-enable"));
                }


Reply via email to