Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2018-11-20 11:20:42 -0500
committerJonah Graham2018-11-22 16:51:31 -0500
commit8985c7b63f04ad139e8b93160798e642d2addc55 (patch)
treef47208be3bf39983209f2433f307bf73a3474952 /windows/org.eclipse.cdt.msw.build/src/org/eclipse
parenta923614c73274179d56e78d35d17aef149c23a03 (diff)
downloadorg.eclipse.cdt-8985c7b63f04ad139e8b93160798e642d2addc55.tar.gz
org.eclipse.cdt-8985c7b63f04ad139e8b93160798e642d2addc55.tar.xz
org.eclipse.cdt-8985c7b63f04ad139e8b93160798e642d2addc55.zip
Bug 540373: Cleanup: Add missing annotations
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Add missing Annotations - and selecting all three types: - @Override - @Override on interface methods - @Deprecated and completing the wizard Change-Id: I5d367dacb04327107f25e147edc08efc4eb1c2fe
Diffstat (limited to 'windows/org.eclipse.cdt.msw.build/src/org/eclipse')
-rw-r--r--windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/Activator.java2
-rw-r--r--windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java4
-rw-r--r--windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinEnvironmentVariableSupplier.java8
-rw-r--r--windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinScannerInfoCollector.java6
4 files changed, 20 insertions, 0 deletions
diff --git a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/Activator.java b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/Activator.java
index 67dc1949236..fcd4370da94 100644
--- a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/Activator.java
+++ b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/Activator.java
@@ -34,6 +34,7 @@ public class Activator extends Plugin {
* (non-Javadoc)
* @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
*/
+ @Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
@@ -43,6 +44,7 @@ public class Activator extends Plugin {
* (non-Javadoc)
* @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
*/
+ @Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
diff --git a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java
index 91eff6d1e54..9d43eda9ebe 100644
--- a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java
+++ b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java
@@ -53,18 +53,22 @@ public class WinDiscoveredPathInfo implements IDiscoveredPathInfo {
symbols.put("__int64", "long long");
}
+ @Override
public IPath[] getIncludePaths() {
return paths;
}
+ @Override
public IProject getProject() {
return null;
}
+ @Override
public IDiscoveredScannerInfoSerializable getSerializable() {
return null;
}
+ @Override
public Map<String, String> getSymbols() {
return symbols;
}
diff --git a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinEnvironmentVariableSupplier.java b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinEnvironmentVariableSupplier.java
index 551d8866201..13863cadca2 100644
--- a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinEnvironmentVariableSupplier.java
+++ b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinEnvironmentVariableSupplier.java
@@ -48,18 +48,22 @@ public class WinEnvironmentVariableSupplier
this.operation = operation;
}
+ @Override
public String getDelimiter() {
return ";";
}
+ @Override
public String getName() {
return name;
}
+ @Override
public String getValue() {
return value;
}
+ @Override
public int getOperation() {
return operation;
}
@@ -70,20 +74,24 @@ public class WinEnvironmentVariableSupplier
initvars();
}
+ @Override
public IBuildEnvironmentVariable getVariable(String variableName, IManagedProject project,
IEnvironmentVariableProvider provider) {
return envvars.get(variableName);
}
+ @Override
public IBuildEnvironmentVariable getVariable(String variableName, IConfiguration configuration,
IEnvironmentVariableProvider provider) {
return envvars.get(variableName);
}
+ @Override
public IBuildEnvironmentVariable[] getVariables(IManagedProject project, IEnvironmentVariableProvider provider) {
return envvars.values().toArray(new IBuildEnvironmentVariable[envvars.size()]);
}
+ @Override
public IBuildEnvironmentVariable[] getVariables(IConfiguration configuration,
IEnvironmentVariableProvider provider) {
return envvars.values().toArray(new IBuildEnvironmentVariable[envvars.size()]);
diff --git a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinScannerInfoCollector.java b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinScannerInfoCollector.java
index 6829e4e7921..49ef7dc1114 100644
--- a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinScannerInfoCollector.java
+++ b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinScannerInfoCollector.java
@@ -27,23 +27,29 @@ import org.eclipse.core.runtime.IProgressMonitor;
*/
public class WinScannerInfoCollector implements IScannerInfoCollector3 {
+ @Override
public void contributeToScannerConfig(Object resource, Map scannerInfo) {
}
+ @Override
public List getCollectedScannerInfo(Object resource, ScannerInfoTypes type) {
return null;
}
+ @Override
public IDiscoveredPathInfo createPathInfoObject() {
return new WinDiscoveredPathInfo();
}
+ @Override
public void setInfoContext(InfoContext context) {
}
+ @Override
public void setProject(IProject project) {
}
+ @Override
public void updateScannerConfiguration(IProgressMonitor monitor) throws CoreException {
}

Back to the top