Author: shane.bryzak(a)jboss.com
Date: 2008-01-22 00:19:57 -0500 (Tue, 22 Jan 2008)
New Revision: 7174
Modified:
trunk/ui/src/main/java/org/jboss/seam/ui/component/html/HtmlLoadStyle.java
trunk/ui/src/main/java/org/jboss/seam/ui/renderkit/CommandButtonParameterRendererBase.java
trunk/ui/src/main/java/org/jboss/seam/ui/renderkit/DecorateRendererBase.java
trunk/ui/src/main/java/org/jboss/seam/ui/util/UrlBuilder.java
Log:
compiler warnings, imports
Modified: trunk/ui/src/main/java/org/jboss/seam/ui/component/html/HtmlLoadStyle.java
===================================================================
--- trunk/ui/src/main/java/org/jboss/seam/ui/component/html/HtmlLoadStyle.java 2008-01-22
05:19:02 UTC (rev 7173)
+++ trunk/ui/src/main/java/org/jboss/seam/ui/component/html/HtmlLoadStyle.java 2008-01-22
05:19:57 UTC (rev 7174)
@@ -40,7 +40,7 @@
* If isolated, any references to html ids will be resolved only within
this naming container
* Setter for isolated
- * @param isolated - new value
+ * @param __isolated - new value
*/
public void setIsolated( boolean __isolated ){
this._isolated = __isolated;
@@ -73,6 +73,7 @@
// Component family.
public static final String COMPONENT_FAMILY = "org.ajax4jsf.LoadStyle";
+ @Override
public String getFamily() {
return COMPONENT_FAMILY;
}
Modified:
trunk/ui/src/main/java/org/jboss/seam/ui/renderkit/CommandButtonParameterRendererBase.java
===================================================================
---
trunk/ui/src/main/java/org/jboss/seam/ui/renderkit/CommandButtonParameterRendererBase.java 2008-01-22
05:19:02 UTC (rev 7173)
+++
trunk/ui/src/main/java/org/jboss/seam/ui/renderkit/CommandButtonParameterRendererBase.java 2008-01-22
05:19:57 UTC (rev 7174)
@@ -16,7 +16,6 @@
import javax.faces.context.ResponseWriter;
import org.jboss.seam.log.LogProvider;
-import org.jboss.seam.ui.component.UIConversationPropagation;
import org.jboss.seam.ui.util.cdk.RendererBase;
/**
Modified: trunk/ui/src/main/java/org/jboss/seam/ui/renderkit/DecorateRendererBase.java
===================================================================
---
trunk/ui/src/main/java/org/jboss/seam/ui/renderkit/DecorateRendererBase.java 2008-01-22
05:19:02 UTC (rev 7173)
+++
trunk/ui/src/main/java/org/jboss/seam/ui/renderkit/DecorateRendererBase.java 2008-01-22
05:19:57 UTC (rev 7174)
@@ -10,7 +10,6 @@
import org.jboss.seam.ui.component.UIDecorate;
import org.jboss.seam.ui.util.Decoration;
import org.jboss.seam.ui.util.HTML;
-import org.jboss.seam.ui.util.JSF;
import org.jboss.seam.ui.util.cdk.RendererBase;
public class DecorateRendererBase extends RendererBase
Modified: trunk/ui/src/main/java/org/jboss/seam/ui/util/UrlBuilder.java
===================================================================
--- trunk/ui/src/main/java/org/jboss/seam/ui/util/UrlBuilder.java 2008-01-22 05:19:02 UTC
(rev 7173)
+++ trunk/ui/src/main/java/org/jboss/seam/ui/util/UrlBuilder.java 2008-01-22 05:19:57 UTC
(rev 7174)
@@ -9,6 +9,8 @@
public class UrlBuilder
{
+ private static final String URL_ENCODING = "UTF-8";
+
private String url;
private String fragment;
@@ -40,7 +42,7 @@
protected String urlEncode(String value) throws UnsupportedEncodingException
{
- return characterEncoding == null ? URLEncoder.encode(value) :
URLEncoder.encode(value,
+ return characterEncoding == null ? URLEncoder.encode(value, URL_ENCODING) :
URLEncoder.encode(value,
characterEncoding);
}
Show replies by date