Permalink
Browse files

Tidy local variable name

  • Loading branch information...
1 parent 342f782 commit 2e8005369ff015059aee1fc3927a7ce39ecfbffb @jodastephen jodastephen committed Dec 1, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/main/java/javax/time/ZonedDateTime.java
@@ -473,13 +473,13 @@ public static ZonedDateTime ofInstant(OffsetDateTime instantDateTime, ZoneId zon
*
* @param epochSecond the number of seconds from the epoch of 1970-01-01T00:00:00Z
* @param nanoOfSecond the nanosecond within the second, from 0 to 999,999,999
- * @param zoneId the zone ID, not null
+ * @param zone the time-zone, not null
* @return the zoned date-time, not null
* @throws DateTimeException if the result exceeds the supported range
*/
- public static ZonedDateTime ofEpochSecond(long epochSecond, int nanoOfSecond, ZoneId zoneId) {
- Objects.requireNonNull(zoneId, "zone");
- return create(epochSecond, nanoOfSecond, zoneId);
+ public static ZonedDateTime ofEpochSecond(long epochSecond, int nanoOfSecond, ZoneId zone) {
+ Objects.requireNonNull(zone, "zone");
+ return create(epochSecond, nanoOfSecond, zone);
}
/**

0 comments on commit 2e80053

Please sign in to comment.