< prev index next >

src/com/sun/javatest/exec/TP_DescSubpanel.java

Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg


  37  */
  38 
  39 class TP_DescSubpanel extends TP_PropertySubpanel {
  40     TP_DescSubpanel(UIFactory uif) {
  41         super(uif, "desc");
  42         ContextHelpManager.setHelpIDString(this, "browse.testDescriptionTab.csh");
  43     }
  44 
  45     protected void updateSubpanel(TestResult currTest) {
  46         super.updateSubpanel(currTest);
  47 
  48         TestDescription td;
  49 
  50         try {
  51             td = subpanelTest.getDescription();
  52         }
  53         catch (TestResult.Fault f) {
  54             return;
  55         }
  56 
  57         for (Iterator iter = td.getParameterKeys(); iter.hasNext(); ) {
  58             String key = (String)(iter.next());
  59             String val = td.getParameter(key);
  60             updateEntry(key, val);
  61         }
  62     }
  63 
  64 }


  37  */
  38 
  39 class TP_DescSubpanel extends TP_PropertySubpanel {
  40     TP_DescSubpanel(UIFactory uif) {
  41         super(uif, "desc");
  42         ContextHelpManager.setHelpIDString(this, "browse.testDescriptionTab.csh");
  43     }
  44 
  45     protected void updateSubpanel(TestResult currTest) {
  46         super.updateSubpanel(currTest);
  47 
  48         TestDescription td;
  49 
  50         try {
  51             td = subpanelTest.getDescription();
  52         }
  53         catch (TestResult.Fault f) {
  54             return;
  55         }
  56 
  57         for (Iterator<String> iter = td.getParameterKeys(); iter.hasNext(); ) {
  58             String key = (iter.next());
  59             String val = td.getParameter(key);
  60             updateEntry(key, val);
  61         }
  62     }
  63 
  64 }
< prev index next >