/*
 * Copyright (c) 2002-2003 by OpenSymphony
 * All rights reserved.
 */
package com.opensymphony.workflow.util;

import com.opensymphony.module.propertyset.PropertySet;

import com.opensymphony.workflow.FunctionProvider;
import com.opensymphony.workflow.WorkflowContext;

import java.util.Map;


/**
 * Sets the persistent variable "caller" to the current user executing an action.
 *
 * @author <a href="mailto:plightbo@hotmail.com">Pat Lightbody</a>
 * @version $Revision: 1.2 $
 */
public class Caller implements FunctionProvider {
    //~ Methods ////////////////////////////////////////////////////////////////

    public void execute(Map transientVars, Map args, PropertySet ps) {
        WorkflowContext context = (WorkflowContext) transientVars.get("context");
        transientVars.put("caller", context.getCaller());
    }
}

@@ -311,19 +311,8 @@
 the 
-persistent 
 vari
@@ -461,17 +461,17 @@
 sion: 1.
-2
+3
  $%0A */%0Ap

Fix javadoc