Skip to content

Commit

Permalink
fixed files form Time #4
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent 6e8abda commit 8ca49c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/Time/4/org/joda/time/Partial.java
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ public Partial with(DateTimeFieldType fieldType, int value) {
System.arraycopy(iValues, i, newValues, i + 1, newValues.length - i - 1);
// use public constructor to ensure full validation
// this isn't overly efficient, but is safe
Partial newPartial = new Partial(iChronology, newTypes, newValues);
Partial newPartial = new Partial(newTypes, newValues, iChronology);
iChronology.validate(newPartial, newValues);
return newPartial;
}
Expand Down

0 comments on commit 8ca49c0

Please sign in to comment.