1 package de.matthias_burbach.deputy.core.rule; 2 3 /*** 4 * @author Matthias Burbach 5 */ 6 public class RemovalRule 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("Remove "); 15 result.append(getGroupId()); 16 result.append("/" + getArtifactId()); 17 if (getVersion() != null) { 18 result.append("-" + getVersion()); 19 } 20 return result.toString(); 21 } 22 }