Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2018-11-20 16:20:42 +0000
committerJonah Graham2018-11-22 21:51:31 +0000
commit8985c7b63f04ad139e8b93160798e642d2addc55 (patch)
treef47208be3bf39983209f2433f307bf73a3474952 /core/org.eclipse.cdt.core.linux
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 'core/org.eclipse.cdt.core.linux')
-rw-r--r--core/org.eclipse.cdt.core.linux/src/org/eclipse/cdt/internal/core/linux/ProcessInfo.java2
-rw-r--r--core/org.eclipse.cdt.core.linux/src/org/eclipse/cdt/internal/core/linux/ProcessList.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.linux/src/org/eclipse/cdt/internal/core/linux/ProcessInfo.java b/core/org.eclipse.cdt.core.linux/src/org/eclipse/cdt/internal/core/linux/ProcessInfo.java
index cc0d6cbb945..982d062035a 100644
--- a/core/org.eclipse.cdt.core.linux/src/org/eclipse/cdt/internal/core/linux/ProcessInfo.java
+++ b/core/org.eclipse.cdt.core.linux/src/org/eclipse/cdt/internal/core/linux/ProcessInfo.java
@@ -44,6 +44,7 @@ public class ProcessInfo implements IProcessInfo {
/**
* @see org.eclipse.cdt.core.IProcessInfo#getName()
*/
+ @Override
public String getName() {
return name;
}
@@ -51,6 +52,7 @@ public class ProcessInfo implements IProcessInfo {
/**
* @see org.eclipse.cdt.core.IProcessInfo#getPid()
*/
+ @Override
public int getPid() {
return pid;
}
diff --git a/core/org.eclipse.cdt.core.linux/src/org/eclipse/cdt/internal/core/linux/ProcessList.java b/core/org.eclipse.cdt.core.linux/src/org/eclipse/cdt/internal/core/linux/ProcessList.java
index 9270e0ba266..30d044d908d 100644
--- a/core/org.eclipse.cdt.core.linux/src/org/eclipse/cdt/internal/core/linux/ProcessList.java
+++ b/core/org.eclipse.cdt.core.linux/src/org/eclipse/cdt/internal/core/linux/ProcessList.java
@@ -36,6 +36,7 @@ public class ProcessList implements IProcessList {
* Insert the method's description here.
* @see IProcessList#getProcessList
*/
+ @Override
public IProcessInfo[] getProcessList() {
File proc = new File("/proc"); //$NON-NLS-1$
File[] pidFiles = null;
@@ -43,6 +44,7 @@ public class ProcessList implements IProcessList {
// We are only interrested in the pid so filter the rest out.
try {
FilenameFilter filter = new FilenameFilter() {
+ @Override
public boolean accept(File dir, String name) {
boolean isPID = false;
try {

Back to the top