Author: jjankovi
Date: 2012-01-13 04:30:30 -0500 (Fri, 13 Jan 2012)
New Revision: 37814
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/uiutils/wizards/CDIRefactorWizard.java
Log:
Correction of CDIRefactorWizard to work with 5.0.0Beta1
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/uiutils/wizards/CDIRefactorWizard.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/uiutils/wizards/CDIRefactorWizard.java 2012-01-13
09:29:02 UTC (rev 37813)
+++
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/uiutils/wizards/CDIRefactorWizard.java 2012-01-13
09:30:30 UTC (rev 37814)
@@ -32,11 +32,9 @@
* Method gets all files which will be affected by CDI refactoring
* @return
*/
- public List<String> getAffectedFiles() {
- String temp = null;
- for (SWTBotTreeItem ti : bot().tree().getTreeItem(RENAME_TEXT_LABEL).getItems()) {
- temp = ti.getText().split("-")[0];
- affectedFiles.add(temp.substring(0, temp.length() - 1));
+ public List<String> getAffectedFiles() {
+ for (SWTBotTreeItem ti : bot().tree().getTreeItem(RENAME_TEXT_LABEL).getItems()) {
+ affectedFiles.add(ti.getText());
}
return affectedFiles;
}
Show replies by date