Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Guarantee Eclipse 3.5 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
marchof committed Jan 26, 2012
1 parent 03a2808 commit 514dab5
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*
******************************************************************************/
package com.mountainminds.eclemma.internal.core.launching;

import java.util.List;
import java.util.Map;
import java.util.Set;
Expand All @@ -20,7 +21,6 @@
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;


/**
* Internal wrapper for {@link ILaunchConfigurationWorkingCopy} instances.
*
Expand Down Expand Up @@ -48,6 +48,12 @@ public boolean isWorkingCopy() {
return true;
}

public void setAttribute(String attributeName,
@SuppressWarnings("rawtypes") Set value) {
// Not supported in Eclipse 3.5
throw new UnsupportedOperationException();
}

// delegate-only methods:

public boolean isDirty() {
Expand Down Expand Up @@ -76,11 +82,6 @@ public void setAttribute(String attributeName,
delegate.setAttribute(attributeName, value);
}

public void setAttribute(String attributeName,
@SuppressWarnings("rawtypes") Set value) {
delegate.setAttribute(attributeName, value);
}

public void setAttribute(String attributeName, boolean value) {
delegate.setAttribute(attributeName, value);
}
Expand Down

0 comments on commit 514dab5

Please sign in to comment.