|
From: <caw...@us...> - 2007-06-20 21:00:23
|
Revision: 2652
http://svn.sourceforge.net/rubyeclipse/?rev=2652&view=rev
Author: cawilliams
Date: 2007-06-20 14:00:22 -0700 (Wed, 20 Jun 2007)
Log Message:
-----------
clean up some warnings
Modified Paths:
--------------
trunk/org.rubypeople.rdt.debug.core.tests/src/org/rubypeople/rdt/debug/core/tests/FTC_DebuggerProxyTest.java
trunk/org.rubypeople.rdt.debug.core.tests/src/org/rubypeople/rdt/debug/core/tests/TestRubyDebugTarget.java
trunk/org.rubypeople.rdt.debug.ui.tests/src/org/rubypeople/rdt/internal/debug/ui/launcher/TC_RubyArgumentsTab.java
trunk/org.rubypeople.rdt.debug.ui.tests/src/org/rubypeople/rdt/internal/debug/ui/launcher/TC_RubyEntryPointTab.java
Modified: trunk/org.rubypeople.rdt.debug.core.tests/src/org/rubypeople/rdt/debug/core/tests/FTC_DebuggerProxyTest.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.core.tests/src/org/rubypeople/rdt/debug/core/tests/FTC_DebuggerProxyTest.java 2007-06-20 20:58:42 UTC (rev 2651)
+++ trunk/org.rubypeople.rdt.debug.core.tests/src/org/rubypeople/rdt/debug/core/tests/FTC_DebuggerProxyTest.java 2007-06-20 21:00:22 UTC (rev 2652)
@@ -13,7 +13,6 @@
import org.eclipse.core.runtime.CoreException;
import org.rubypeople.rdt.internal.debug.core.RubyDebuggerProxy;
import org.rubypeople.rdt.internal.debug.core.RubyExceptionBreakpoint;
-import org.rubypeople.rdt.internal.debug.core.model.ThreadInfo;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserFactory;
Modified: trunk/org.rubypeople.rdt.debug.core.tests/src/org/rubypeople/rdt/debug/core/tests/TestRubyDebugTarget.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.core.tests/src/org/rubypeople/rdt/debug/core/tests/TestRubyDebugTarget.java 2007-06-20 20:58:42 UTC (rev 2651)
+++ trunk/org.rubypeople.rdt.debug.core.tests/src/org/rubypeople/rdt/debug/core/tests/TestRubyDebugTarget.java 2007-06-20 21:00:22 UTC (rev 2652)
@@ -1,6 +1,7 @@
package org.rubypeople.rdt.debug.core.tests;
import java.util.ArrayList;
+import java.util.List;
import org.eclipse.core.resources.IMarkerDelta;
import org.eclipse.debug.core.DebugException;
@@ -15,13 +16,13 @@
import org.rubypeople.rdt.internal.debug.core.model.IRubyDebugTarget;
public class TestRubyDebugTarget implements IRubyDebugTarget {
- private ArrayList suspensionPoints = new ArrayList() ;
+ private List<SuspensionPoint> suspensionPoints = new ArrayList<SuspensionPoint>();
public SuspensionPoint getLastSuspensionPoint() {
- if (suspensionPoints.size() == 0) {
- return null ;
+ if (suspensionPoints.isEmpty()) {
+ return null;
}
- return (SuspensionPoint) suspensionPoints.get(suspensionPoints.size()-1);
+ return suspensionPoints.get(suspensionPoints.size()-1);
}
@@ -29,7 +30,7 @@
}
public void suspensionOccurred(SuspensionPoint suspensionPoint) {
- suspensionPoints.add(suspensionPoint) ;
+ suspensionPoints.add(suspensionPoint);
}
public void terminate() {
Modified: trunk/org.rubypeople.rdt.debug.ui.tests/src/org/rubypeople/rdt/internal/debug/ui/launcher/TC_RubyArgumentsTab.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.ui.tests/src/org/rubypeople/rdt/internal/debug/ui/launcher/TC_RubyArgumentsTab.java 2007-06-20 20:58:42 UTC (rev 2651)
+++ trunk/org.rubypeople.rdt.debug.ui.tests/src/org/rubypeople/rdt/internal/debug/ui/launcher/TC_RubyArgumentsTab.java 2007-06-20 21:00:22 UTC (rev 2652)
@@ -5,8 +5,6 @@
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.rubypeople.eclipse.shams.debug.core.ShamLaunchConfigurationWorkingCopy;
import org.rubypeople.rdt.internal.debug.ui.RdtDebugUiMessages;
-import org.rubypeople.rdt.internal.debug.ui.launcher.RubyArgumentsTab;
-import org.rubypeople.rdt.internal.launching.RubyLaunchConfigurationAttribute;
import org.rubypeople.rdt.launching.IRubyLaunchConfigurationConstants;
public class TC_RubyArgumentsTab extends TestCase {
Modified: trunk/org.rubypeople.rdt.debug.ui.tests/src/org/rubypeople/rdt/internal/debug/ui/launcher/TC_RubyEntryPointTab.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.ui.tests/src/org/rubypeople/rdt/internal/debug/ui/launcher/TC_RubyEntryPointTab.java 2007-06-20 20:58:42 UTC (rev 2651)
+++ trunk/org.rubypeople.rdt.debug.ui.tests/src/org/rubypeople/rdt/internal/debug/ui/launcher/TC_RubyEntryPointTab.java 2007-06-20 21:00:22 UTC (rev 2652)
@@ -5,8 +5,6 @@
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.rubypeople.eclipse.shams.debug.core.ShamLaunchConfigurationWorkingCopy;
import org.rubypeople.rdt.internal.debug.ui.RdtDebugUiMessages;
-import org.rubypeople.rdt.internal.debug.ui.launcher.RubyEntryPointTab;
-import org.rubypeople.rdt.internal.launching.RubyLaunchConfigurationAttribute;
import org.rubypeople.rdt.launching.IRubyLaunchConfigurationConstants;
public class TC_RubyEntryPointTab extends TestCase {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|