myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwald...@apache.org
Subject svn commit: r770854 - /myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/StyleContextImpl.java
Date Sat, 02 May 2009 01:59:15 GMT
Author: jwaldman
Date: Fri May  1 23:00:45 2009
New Revision: 770854

URL: http://svn.apache.org/viewvc?rev=770854&view=rev
Log:
remove @Overrides for StyleContextImpl

Modified:
    myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/StyleContextImpl.java

Modified: myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/StyleContextImpl.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/StyleContextImpl.java?rev=770854&r1=770853&r2=770854&view=diff
==============================================================================
--- myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/StyleContextImpl.java
(original)
+++ myfaces/trinidad/branches/1.2.11.3-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/StyleContextImpl.java
Fri May  1 23:00:45 2009
@@ -54,7 +54,6 @@
     assert(_arc.getAccessibilityProfile() != null);
   }
 
-  @Override
   public StyleProvider getStyleProvider()
   {
     if (_styleProvider == null)
@@ -67,7 +66,6 @@
 
   /* added this in case we switch the skin after the styleProvider was cached above. */
   /* we want to recompute, not get it from the cache. */
-  @Override
   public StyleProvider getStyleProvider(boolean recompute)
   {
     if (recompute)
@@ -77,14 +75,13 @@
       // recalculate in case the skin switched in the portlet case
       isDisableStyleCompression();
     }
-    
+
     return getStyleProvider();
   }
-  
+
   /**
-   * 
+   *
    */
-   @Override
   public Styles getStyles()
   {
     if (_styles == null)
@@ -95,13 +92,11 @@
   /**
    * Returns the end user's locale.
    */
-  @Override
   public LocaleContext getLocaleContext()
   {
     return _arc.getLocaleContext();
   }
 
-  @Override
   public String getGeneratedFilesPath()
   {
     return _generatedFilesPath;
@@ -110,12 +105,10 @@
   /**
    * Returns the end user's Agent.
    */
-   @Override
   public TrinidadAgent getAgent()
   {
     return ((CoreRenderingContext) _arc).getTrinidadAgent();
   }
-  @Override
   public boolean checkStylesModified()
   {
     FacesContext context = FacesContext.getCurrentInstance();
@@ -123,15 +116,13 @@
       context.getExternalContext().getInitParameter(Configuration.CHECK_TIMESTAMP_PARAM);
     return "true".equals(checkTimestamp);
   }
-  
-  @Override
+
   public boolean disableStandardsMode()
   {
     FacesContext fContext = FacesContext.getCurrentInstance();
     return HtmlRenderer.isStandardsModeDisabled(fContext);
   }
-  
-  @Override
+
   public AccessibilityProfile getAccessibilityProfile()
   {
     return _arc.getAccessibilityProfile();
@@ -159,10 +150,10 @@
   {
     return CoreRenderKit.OUTPUT_MODE_PORTLET.equals(_arc.getOutputMode());
   }
-  
+
   /**
    *
-   * @return true if we should disable style compression. e.g., 
+   * @return true if we should disable style compression. e.g.,
    * if StyleSheetRenderer.DISABLE_CONTENT_COMPRESSION is true or the skin is a portlet skin
    * or we are in portlet mode and not doing skin sharing.
    */
@@ -175,13 +166,13 @@
         context.getExternalContext().
         getInitParameter(StyleSheetRenderer.DISABLE_CONTENT_COMPRESSION);
       boolean disableContentCompressionBoolean = "true".equals(disableContentCompression);
-      
+
       // the user wants to explicitly disable the content compression and show the full styleclass
       // names
       if (disableContentCompressionBoolean)
         _isDisableStyleCompression = Boolean.TRUE;
-      
-      // we still need to check if we don't want to compress even if the disable content

+
+      // we still need to check if we don't want to compress even if the disable content
       // compression flag is true
       if (CoreRenderKit.OUTPUT_MODE_PORTLET.equals(_arc.getOutputMode()))
       {
@@ -207,9 +198,9 @@
         }
       }
     }
-    // if _isDisableStyleCompression is still null, 
+    // if _isDisableStyleCompression is still null,
     // default it to false since disabling styling compression defaults to false
-    
+
     if (_isDisableStyleCompression == null)
       _isDisableStyleCompression = Boolean.FALSE;
 
@@ -250,7 +241,7 @@
     {
       return null;
     }
-    
+
     public ConcurrentMap<String, Icon> getIcons(StyleContext context)
     {
       return null;
@@ -270,7 +261,7 @@
   private StyleProvider _styleProvider;
   private Styles _styles;
   private Boolean  _isDisableStyleCompression;
-  
+
   private static final TrinidadLogger _LOG =
     TrinidadLogger.createTrinidadLogger(StyleContextImpl.class);
 }



Mime
View raw message