diff options
author | Alexander Kurtakov | 2019-03-15 14:15:48 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2019-03-16 09:12:23 +0000 |
commit | 0195c97ec53875f5d39ed0903feccefe5b1ac3b4 (patch) | |
tree | 5793d142c5c0adcde5e5a82f5aace321e760786b /bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/spi/ProcessingStepDescriptor.java | |
parent | e13c71f70b73d9ee5122d1d13267e4a4189c3fc6 (diff) | |
download | rt.equinox.p2-0195c97ec53875f5d39ed0903feccefe5b1ac3b4.tar.gz rt.equinox.p2-0195c97ec53875f5d39ed0903feccefe5b1ac3b4.tar.xz rt.equinox.p2-0195c97ec53875f5d39ed0903feccefe5b1ac3b4.zip |
Add missing Override/Deprecated annotations to p2.repository bundle.
Change-Id: Iec7809dcb1596a843bbc5c8a3b82201b4f15f985
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/spi/ProcessingStepDescriptor.java')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/spi/ProcessingStepDescriptor.java | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/spi/ProcessingStepDescriptor.java b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/spi/ProcessingStepDescriptor.java index a055b5ab5..66c75a0ef 100644 --- a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/spi/ProcessingStepDescriptor.java +++ b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/spi/ProcessingStepDescriptor.java @@ -38,30 +38,22 @@ public class ProcessingStepDescriptor implements IProcessingStepDescriptor { this.required = required; } - /** - * {@inheritDoc} - */ + @Override public String getProcessorId() { return processorId; } - /** - * {@inheritDoc} - */ + @Override public String getData() { return data; } - /** - * {@inheritDoc} - */ + @Override public boolean isRequired() { return required; } - /** - * {@inheritDoc} - */ + @Override public int hashCode() { final int prime = 31; int result = 1; @@ -71,9 +63,7 @@ public class ProcessingStepDescriptor implements IProcessingStepDescriptor { return result; } - /** - * {@inheritDoc} - */ + @Override public boolean equals(Object obj) { if (this == obj) return true; @@ -101,6 +91,7 @@ public class ProcessingStepDescriptor implements IProcessingStepDescriptor { * Returns a string representation of this descriptor for debugging purposes only. * @return a string representation ofthe processing step descriptor */ + @Override public String toString() { return "Processor: " + processorId + (required ? "(req)" : "(notReq)") + " ,data: " + data; //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$//$NON-NLS-4$ } |