Procházet zdrojové kódy

changed getActTime in minuts to the object actTime

Janco Kock před 10 roky
rodič
revize
af9c3629e5
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      src/agenda/Act.java

+ 3 - 3
src/agenda/Act.java

@@ -54,10 +54,10 @@ public class Act {
 
     /**
      * * return the act time.
-     * @return the act time in minutes
+     * @return the act time object
      */
-    public long getActTime() {
-        return this.actTime.getLength();
+    public ActTime getActTime() {
+        return this.actTime;
     }
     
     @Override