Author: dgolovin
Date: 2011-07-28 12:24:29 -0400 (Thu, 28 Jul 2011)
New Revision: 33309
Modified:
trunk/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/ProjectImportTestSetup.java
Log:
replaced ResourceException to generic CoreException to fix access restiction violation
Modified:
trunk/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/ProjectImportTestSetup.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/ProjectImportTestSetup.java 2011-07-28
16:23:37 UTC (rev 33308)
+++
trunk/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/ProjectImportTestSetup.java 2011-07-28
16:24:29 UTC (rev 33309)
@@ -13,7 +13,6 @@
import junit.extensions.TestSetup;
import junit.framework.Test;
-import org.eclipse.core.internal.resources.ResourceException;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.resources.ResourcesPlugin;
@@ -65,7 +64,7 @@
assertNotNull("Can't load " + projectName, project); //$NON-NLS-1$
try {
project.build(IncrementalProjectBuilder.FULL_BUILD, null);
- } catch (ResourceException e) {
+ } catch (CoreException e) {
JUnitUtils.fail(e.getMessage(), e);
}
JobUtils.waitForIdle();
Show replies by date