atom feed1 message in net.java.dev.jtharness.commitssvn commit: r831 - branches/users/sbo...
FromSent OnAttachments
serg...@dev.java.netMar 24, 2008 4:32 am 
Subject:svn commit: r831 - branches/users/sborodin/cr_6562026/code/src/com/sun/javatest: exec tool
From:serg...@dev.java.net (serg@dev.java.net)
Date:Mar 24, 2008 4:32:32 am
List:net.java.dev.jtharness.commits

Author: sergey_borodin Date: 2008-03-24 11:32:30+0000 New Revision: 831

Modified: branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/exec/WorkDirChooseTool.java branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/tool/SelectedWorkDirApprover.java

Log: second part of fix for CR 6562026

Modified:
branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/exec/WorkDirChooseTool.java Url:
https://jtharness.dev.java.net/source/browse/jtharness/branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/exec/WorkDirChooseTool.java?view=diff&rev=831&p1=branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/exec/WorkDirChooseTool.java&p2=branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/exec/WorkDirChooseTool.java&r1=830&r2=831 ============================================================================== ---
branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/exec/WorkDirChooseTool.java
(original) +++
branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/exec/WorkDirChooseTool.java
2008-03-24 11:32:30+0000 @@ -97,7 +97,7 @@ this.testSuite = testSuite; this.mode = mode;

- swda = new SelectedWorkDirApprover(uif, mode, parent); + swda = new SelectedWorkDirApprover(mode, parent); if (defaultDir == null) { //defaultDir = new File(System.getProperty("user.dir")); try {

Modified:
branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/tool/SelectedWorkDirApprover.java Url:
https://jtharness.dev.java.net/source/browse/jtharness/branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/tool/SelectedWorkDirApprover.java?view=diff&rev=831&p1=branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/tool/SelectedWorkDirApprover.java&p2=branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/tool/SelectedWorkDirApprover.java&r1=830&r2=831 ============================================================================== ---
branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/tool/SelectedWorkDirApprover.java
(original) +++
branches/users/sborodin/cr_6562026/code/src/com/sun/javatest/tool/SelectedWorkDirApprover.java
2008-03-24 11:32:30+0000 @@ -35,6 +35,7 @@ import com.sun.javatest.WorkDirectory; import com.sun.javatest.util.FileInfoCache; import com.sun.javatest.util.I18NResourceBundle; +import javax.help.DefaultHelpBroker;

/** * @@ -43,8 +44,7 @@ /** * Create a WorkDirChooser, initially showing the user's current directory. */ - public SelectedWorkDirApprover(UIFactory uif, int mode, Component parent) { - this.uif = uif; + public SelectedWorkDirApprover(int mode, Component parent) { this.mode = mode; this.parent = parent; } @@ -291,7 +291,7 @@ private Component parent; private boolean approveOpenSelection_dirExists = false;

- private UIFactory uif; + private UIFactory uif = new UIFactory(SelectedWorkDirApprover.class, new
DefaultHelpBroker()); private static I18NResourceBundle i18n =
I18NResourceBundle.getBundleForClass(SelectedWorkDirApprover.class);

private boolean allowNoTemplate = false;;