You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2011/03/04 23:22:44 UTC

svn commit: r1078178 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/HtmlWidget.java

Author: mrisaliti
Date: Fri Mar  4 22:22:44 2011
New Revision: 1078178

URL: http://svn.apache.org/viewvc?rev=1078178&view=rev
Log:
Remove some warning in HtmlWidget (OFBIZ-4102)

Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/HtmlWidget.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/HtmlWidget.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/HtmlWidget.java?rev=1078178&r1=1078177&r2=1078178&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/HtmlWidget.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/HtmlWidget.java Fri Mar  4 22:22:44 2011
@@ -275,7 +275,7 @@ public class HtmlWidget extends ModelScr
         public void renderWidgetString(Appendable writer, Map<String, Object> context, ScreenStringRenderer screenStringRenderer) {
             // isolate the scope
             MapStack<String> contextMs;
-            if (!(context instanceof MapStack)) {
+            if (!(context instanceof MapStack<?>)) {
                 contextMs = MapStack.create(context);
                 context = contextMs;
             } else {