This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 144366 - HashMap should be changed to Map in saveTasks() method
Summary: HashMap should be changed to Map in saveTasks() method
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Portalpack (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ chetansanth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-19 11:19 UTC by siddeshk123
Modified: 2009-11-07 10:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description siddeshk123 2008-08-19 11:19:54 UTC
Netbeans 6.5 beta + saw plugin on windows XP

1. Create a java webapp
2. Open the java file and drag and drop saveTask from the saw java palette, 
The following code is generated. Change the java.util.HashMap to java.util.Map

    public com.sun.saw.vo.OutputVO saveTasks(java.lang.String userId, java.util.List taskIdList, String output, 
java.util.HashMap customAttributesMap, Workflow workflowImpl) throws com.sun.saw.WorkflowException {
        com.sun.saw.vo.OutputVO outputVO = null;
        com.sun.saw.vo.SaveTaskVO saveTaskVO = new com.sun.saw.vo.SaveTaskVO();
        saveTaskVO.setTaskIdList(taskIdList);
        saveTaskVO.setUserId(userId);
        saveTaskVO.setOutput(output);
        saveTaskVO.setCustomAttributesMap(customAttributesMap);
        outputVO = workflowImpl.saveTasks(saveTaskVO);
        return outputVO;
    }
Comment 1 Satyaranjan D 2008-12-24 07:45:44 UTC
Require changes in template file.
Comment 2 _ chetansanth 2009-01-07 09:54:18 UTC
Fixed. Changed the method signature