1 package de.matthias_burbach.deputy.core.rule; 2 3 /*** 4 * @author Matthias Burbach 5 */ 6 public class DeprecationRule extends Rule { 7 /*(non-Javadoc) 8 * @see java.lang.Object#toString() 9 */ 10 /*** 11 * {@inheritDoc} 12 */ 13 public String toString() { 14 StringBuffer result = new StringBuffer("Deprecate "); 15 result.append(getGroupId()); 16 result.append("/" + getArtifactId()); 17 result.append("-" + getVersion()); 18 return result.toString(); 19 } 20 }