diff --git a/src/main/java/Model/TransactionFactory.java b/src/main/java/Model/TransactionFactory.java index a3b8c9a..691d41b 100644 --- a/src/main/java/Model/TransactionFactory.java +++ b/src/main/java/Model/TransactionFactory.java @@ -1,22 +1,22 @@ package Model; /** - * Factory for creating transaction objects + * Factory for creating transaction objects. */ public class TransactionFactory { - /** - * Create purchase transaction - */ - public static Transaction createPurchase(Share share, int week) { - return new Purchase(share, week); - } + /** + * Create purchase transaction. + */ + public static Transaction createPurchase(Share share, int week) { + return new Purchase(share, week); + } - /** - * Create sale transaction - */ - public static Transaction createSale(Share share, int week) { - return new Sale(share, week); - } + /** + * Create sale transaction. + */ + public static Transaction createSale(Share share, int week) { + return new Sale(share, week); + } }