You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/12/15 15:59:13 UTC
svn commit: r890814 - in
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago:
context/ClientProperties.java internal/context/ClientPropertiesKey.java
internal/context/MeasureValue.java internal/context/ThemeConfigCacheKey.java
Author: lofwyr
Date: Tue Dec 15 14:59:12 2009
New Revision: 890814
URL: http://svn.apache.org/viewvc?rev=890814&view=rev
Log:
checkstyle
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ClientProperties.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ClientPropertiesKey.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/MeasureValue.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ThemeConfigCacheKey.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ClientProperties.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ClientProperties.java?rev=890814&r1=890813&r2=890814&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ClientProperties.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ClientProperties.java Tue Dec 15 14:59:12 2009
@@ -126,7 +126,8 @@
}
/**
- * @deprecated since 1.5. Please use {@link VariableResolverUtil#resolveClientProperties(javax.faces.context.FacesContext)}
+ * @deprecated since 1.5. Please use
+ * {@link VariableResolverUtil#resolveClientProperties(javax.faces.context.FacesContext)}
*/
@Deprecated
public static ClientProperties getInstance(UIViewRoot viewRoot) {
@@ -134,7 +135,8 @@
}
/**
- * @deprecated since 1.5. Please use {@link VariableResolverUtil#resolveClientProperties(javax.faces.context.FacesContext)}
+ * @deprecated since 1.5. Please use
+ * {@link VariableResolverUtil#resolveClientProperties(javax.faces.context.FacesContext)}
*/
@Deprecated
public static ClientProperties getInstance(FacesContext facesContext) {
@@ -142,7 +144,8 @@
}
/**
- * @deprecated since 1.5. Please use {@link org.apache.myfaces.tobago.util.LocaleUtil#getLocaleSuffixList(java.util.Locale)}
+ * @deprecated since 1.5. Please use
+ * {@link org.apache.myfaces.tobago.util.LocaleUtil#getLocaleSuffixList(java.util.Locale)}
*/
@Deprecated
public static List<String> getLocaleList(Locale locale, boolean propertyPathMode) {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ClientPropertiesKey.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ClientPropertiesKey.java?rev=890814&r1=890813&r2=890814&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ClientPropertiesKey.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ClientPropertiesKey.java Tue Dec 15 14:59:12 2009
@@ -66,8 +66,12 @@
@Override
public boolean equals(Object o) {
- if (this == o) return true;
- if (o == null || getClass() != o.getClass()) return false;
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
ClientPropertiesKey that = (ClientPropertiesKey) o;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/MeasureValue.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/MeasureValue.java?rev=890814&r1=890813&r2=890814&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/MeasureValue.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/MeasureValue.java Tue Dec 15 14:59:12 2009
@@ -1,7 +1,5 @@
package org.apache.myfaces.tobago.internal.context;
-import org.apache.myfaces.tobago.layout.Measure;
-
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -19,6 +17,8 @@
* limitations under the License.
*/
+import org.apache.myfaces.tobago.layout.Measure;
+
/**
* This class makes it possible to put "null" values into the Map.
*/
@@ -58,4 +58,4 @@
public int hashCode() {
return (value != null ? value.hashCode() : 0);
}
-}
\ No newline at end of file
+}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ThemeConfigCacheKey.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ThemeConfigCacheKey.java?rev=890814&r1=890813&r2=890814&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ThemeConfigCacheKey.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ThemeConfigCacheKey.java Tue Dec 15 14:59:12 2009
@@ -29,7 +29,8 @@
private final String[] markup;
private final int hashCode;
- public ThemeConfigCacheKey(ClientPropertiesKey clientPropertiesKey, String rendererType, String[] markup, String name) {
+ public ThemeConfigCacheKey(
+ ClientPropertiesKey clientPropertiesKey, String rendererType, String[] markup, String name) {
this.clientPropertiesKey = clientPropertiesKey;
this.rendererType = rendererType;
this.markup = (String[]) ArrayUtils.clone(markup);