package junit.samples.money;

/**
 * The common interface for simple Monies and MoneyBags
 */
public interface IMoney {
    /**
     * Adds a money to this money.
     */
    public abstract IMoney add(IMoney m);

    /**
     * Adds a simple Money to this money. This is a helper method for
     * implementing double dispatch
     */
    public abstract IMoney addMoney(Money m);

    /**
     * Adds a MoneyBag to this money. This is a helper method for
     * implementing double dispatch
     */
    public abstract IMoney addMoneyBag(MoneyBag s);

    /**
     * Tests whether this money is zero
     */
    public abstract boolean isZero();

    /**
     * Multiplies a money by the given factor.
     */
    public abstract IMoney multiply(int factor);

    /**
     * Negates this money.
     */
    public abstract IMoney negate();

    /**
     * Subtracts a money from this money.
     */
    public abstract IMoney subtract(IMoney m);

    /**
     * Append this to a MoneyBag m.
     * appendTo() needs to be public because it is used
     * polymorphically, but it should not be used by clients
     * because it modifies the argument m.
     */
    public abstract void appendTo(MoneyBag m);
}
@@ -168,32 +168,16 @@
  */%0A    
-public abstract 
 IMoney a
@@ -182,32 +182,32 @@
  add(IMoney m);%0A
+
 %0A    /**%0A     * 
@@ -317,32 +317,16 @@
  */%0A    
-public abstract 
 IMoney a
@@ -466,32 +466,16 @@
  */%0A    
-public abstract 
 IMoney a
@@ -559,32 +559,16 @@
  */%0A    
-public abstract 
 boolean 
@@ -645,32 +645,16 @@
  */%0A    
-public abstract 
 IMoney m
@@ -722,32 +722,16 @@
  */%0A    
-public abstract 
 IMoney n
@@ -802,32 +802,16 @@
  */%0A    
-public abstract 
 IMoney s
@@ -1050,24 +1050,8 @@
     
-public abstract 
 void
@@ -1074,8 +1074,9 @@
 ag m);%0A%7D
+%0A

Remove 'public abstract' from methods in IMoney.java