Author: jpeterka
Date: 2010-11-12 04:31:44 -0500 (Fri, 12 Nov 2010)
New Revision: 26491
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTUtilExt.java
Log:
Update getResourceFile to be accessible as static
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTUtilExt.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTUtilExt.java 2010-11-12
09:30:23 UTC (rev 26490)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTUtilExt.java 2010-11-12
09:31:44 UTC (rev 26491)
@@ -353,7 +353,7 @@
/**
* Get resource file
*/
- public File getResourceFile(String pluginId, String... path) {
+ public static File getResourceFile(String pluginId, String... path) {
// Construct path
StringBuilder builder = new StringBuilder();
@@ -374,7 +374,7 @@
}
} catch (IOException ex) {
String message = filePath + " resource file not found";
- log.error(message);
+ //log.error(message);
fail(message);
}
Show replies by date