Skip to content

Commit

Permalink
Renamed and documented event parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Royle authored and Peter Royle committed Mar 23, 2011
1 parent b9ed5be commit 17d803f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/jboss/seam/scheduling/events/Hour.java
Expand Up @@ -26,11 +26,12 @@ public class Hour extends AbstractTimeEvent
/**
* Creates an instance of Hour using the given value of timeFired.
* @param timeFired The time at which the event was fired.
* @param hour The hour upon which the event was fired
*/
public Hour(long timeFired, int second)
public Hour(long timeFired, int hour)
{
super(timeFired);
this.value = second;
this.value = hour;
}

}
5 changes: 3 additions & 2 deletions src/main/java/org/jboss/seam/scheduling/events/Minute.java
Expand Up @@ -26,10 +26,11 @@ public class Minute extends AbstractTimeEvent
/**
* Creates an instance of Minute using the given value of timeFired.
* @param timeFired The time at which the event was fired.
* @param minute The minute upon which the event was fired
*/
public Minute(long timeFired, int second)
public Minute(long timeFired, int minute)
{
super(timeFired);
this.value = second;
this.value = minute;
}
}
1 change: 1 addition & 0 deletions src/main/java/org/jboss/seam/scheduling/events/Second.java
Expand Up @@ -26,6 +26,7 @@ public class Second extends AbstractTimeEvent
/**
* Creates an instance of Second using the given value of timeFired.
* @param timeFired The time at which the event was fired.
* @param second The second upon which the event was fired
*/
public Second(long timeFired, int second)
{
Expand Down

0 comments on commit 17d803f

Please sign in to comment.