mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
bug 319512: Missing type arguments on managedbuilder.core
This commit is contained in:
parent
b7073a4f52
commit
0e149f27ae
4 changed files with 7 additions and 10 deletions
|
@ -75,7 +75,7 @@ import org.eclipse.core.variables.IStringVariableManager;
|
||||||
import org.eclipse.core.variables.VariablesPlugin;
|
import org.eclipse.core.variables.VariablesPlugin;
|
||||||
import org.osgi.framework.Version;
|
import org.osgi.framework.Version;
|
||||||
|
|
||||||
public class Builder extends HoldsOptions implements IBuilder, IMatchKeyProvider, IRealBuildObjectAssociation {
|
public class Builder extends HoldsOptions implements IBuilder, IMatchKeyProvider<Builder>, IRealBuildObjectAssociation {
|
||||||
|
|
||||||
private static final String EMPTY_STRING = ""; //$NON-NLS-1$
|
private static final String EMPTY_STRING = ""; //$NON-NLS-1$
|
||||||
|
|
||||||
|
@ -2575,8 +2575,7 @@ public class Builder extends HoldsOptions implements IBuilder, IMatchKeyProvider
|
||||||
return num;
|
return num;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int compareTo(Object o) {
|
public int compareTo(Builder other) {
|
||||||
Builder other = (Builder)o;
|
|
||||||
if(other.isSystemObject() != isSystemObject())
|
if(other.isSystemObject() != isSystemObject())
|
||||||
return isSystemObject() ? 1 : -1;
|
return isSystemObject() ? 1 : -1;
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ package org.eclipse.cdt.managedbuilder.internal.core;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface IMatchKeyProvider<T extends BuildObject> extends Comparable {
|
public interface IMatchKeyProvider<T extends BuildObject> extends Comparable<T> {
|
||||||
MatchKey<T> getMatchKey();
|
MatchKey<T> getMatchKey();
|
||||||
|
|
||||||
void setIdenticalList(List<IMatchKeyProvider<T>> list);
|
void setIdenticalList(List<IMatchKeyProvider<T>> list);
|
||||||
|
|
|
@ -92,7 +92,7 @@ import org.osgi.framework.Version;
|
||||||
* Note that this class implements IOptionCategory to represent the top
|
* Note that this class implements IOptionCategory to represent the top
|
||||||
* category.
|
* category.
|
||||||
*/
|
*/
|
||||||
public class Tool extends HoldsOptions implements ITool, IOptionCategory, IMatchKeyProvider, IRealBuildObjectAssociation {
|
public class Tool extends HoldsOptions implements ITool, IOptionCategory, IMatchKeyProvider<Tool>, IRealBuildObjectAssociation {
|
||||||
|
|
||||||
public static final String DEFAULT_PATTERN = "${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}"; //$NON-NLS-1$
|
public static final String DEFAULT_PATTERN = "${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}"; //$NON-NLS-1$
|
||||||
public static final String DEFAULT_CBS_PATTERN = "${COMMAND}"; //$NON-NLS-1$
|
public static final String DEFAULT_CBS_PATTERN = "${COMMAND}"; //$NON-NLS-1$
|
||||||
|
@ -4020,8 +4020,7 @@ public class Tool extends HoldsOptions implements ITool, IOptionCategory, IMatch
|
||||||
return num;
|
return num;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int compareTo(Object o) {
|
public int compareTo(Tool other) {
|
||||||
Tool other = (Tool)o;
|
|
||||||
if(other.isSystemObject() != isSystemObject())
|
if(other.isSystemObject() != isSystemObject())
|
||||||
return isSystemObject() ? 1 : -1;
|
return isSystemObject() ? 1 : -1;
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ import org.eclipse.core.runtime.IPath;
|
||||||
import org.eclipse.core.runtime.Platform;
|
import org.eclipse.core.runtime.Platform;
|
||||||
import org.osgi.framework.Version;
|
import org.osgi.framework.Version;
|
||||||
|
|
||||||
public class ToolChain extends HoldsOptions implements IToolChain, IBuildPropertiesRestriction, IMatchKeyProvider, IRealBuildObjectAssociation {
|
public class ToolChain extends HoldsOptions implements IToolChain, IBuildPropertiesRestriction, IMatchKeyProvider<ToolChain>, IRealBuildObjectAssociation {
|
||||||
|
|
||||||
private static final String EMPTY_STRING = new String();
|
private static final String EMPTY_STRING = new String();
|
||||||
|
|
||||||
|
@ -2628,8 +2628,7 @@ public class ToolChain extends HoldsOptions implements IToolChain, IBuildPropert
|
||||||
return num;
|
return num;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int compareTo(Object o) {
|
public int compareTo(ToolChain other) {
|
||||||
ToolChain other = (ToolChain)o;
|
|
||||||
if(other.isSystemObject() != isSystemObject())
|
if(other.isSystemObject() != isSystemObject())
|
||||||
return isSystemObject() ? 1 : -1;
|
return isSystemObject() ? 1 : -1;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue