diff options
-rw-r--r-- | org.eclipse.tips.core/src/org/eclipse/tips/core/Tip.java | 13 | ||||
-rw-r--r-- | org.eclipse.tips.ide/META-INF/MANIFEST.MF | 2 | ||||
-rw-r--r-- | org.eclipse.tips.ide/pom.xml | 2 |
3 files changed, 6 insertions, 11 deletions
diff --git a/org.eclipse.tips.core/src/org/eclipse/tips/core/Tip.java b/org.eclipse.tips.core/src/org/eclipse/tips/core/Tip.java index bcdc1b9f8..ec887af97 100644 --- a/org.eclipse.tips.core/src/org/eclipse/tips/core/Tip.java +++ b/org.eclipse.tips.core/src/org/eclipse/tips/core/Tip.java @@ -52,25 +52,20 @@ public abstract class Tip { } /** - * Return the publish date of the tip. The UI could decide to serve newer tips - * first. Note that this date is used to calculate the hash code of the Tip so - * it should return the same value for the same tip. + * Return the publish date of the tip. The UI could decide to server newer tips + * first. * * @return the date this tip was published which may not be null. */ public abstract Date getCreationDate(); /** - * Returns a meaningful short description of the tip. The description is used in - * calculation of the hash code so once it is set for the tip, it may not - * change. - * * @return the subject which may not be null. */ public abstract String getSubject(); @Override - public final int hashCode() { + public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getCreationDate() == null) ? 0 : getCreationDate().hashCode()); @@ -80,7 +75,7 @@ public abstract class Tip { } @Override - public final boolean equals(Object obj) { + public boolean equals(Object obj) { if (this == obj) { return true; } diff --git a/org.eclipse.tips.ide/META-INF/MANIFEST.MF b/org.eclipse.tips.ide/META-INF/MANIFEST.MF index 863b569b6..f60e67ebb 100644 --- a/org.eclipse.tips.ide/META-INF/MANIFEST.MF +++ b/org.eclipse.tips.ide/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %Bundle-Name Bundle-SymbolicName: org.eclipse.tips.ide;singleton:=true -Bundle-Version: 1.0.0.qualifier +Bundle-Version: 0.1.100.qualifier Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Require-Bundle: org.eclipse.ui;bundle-version="3.108.0", org.eclipse.core.runtime;bundle-version="3.12.0", diff --git a/org.eclipse.tips.ide/pom.xml b/org.eclipse.tips.ide/pom.xml index 3db3be5b3..42fac55d3 100644 --- a/org.eclipse.tips.ide/pom.xml +++ b/org.eclipse.tips.ide/pom.xml @@ -20,6 +20,6 @@ </parent> <groupId>org.eclipse.ui</groupId> <artifactId>org.eclipse.tips.ide</artifactId> - <version>1.0.0-SNAPSHOT</version> + <version>0.1.100-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> </project> |