mirror of https://github.com/apache/openjpa.git
Copy all calendar parameters that go towards equals() comparisons.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@485809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9dcdd3a35d
commit
600d949140
|
@ -1015,6 +1015,30 @@ public class ProxyManagerImpl
|
|||
code.invokevirtual().setMethod(type, "setTimeInMillis", void.class,
|
||||
new Class[] { long.class });
|
||||
|
||||
code.dup();
|
||||
code.aload().setParam(0);
|
||||
code.checkcast().setType(Calendar.class);
|
||||
code.invokevirtual().setMethod(Calendar.class, "isLenient",
|
||||
boolean.class, null);
|
||||
code.invokevirtual().setMethod(type, "setLenient", void.class,
|
||||
new Class[] { boolean.class });
|
||||
|
||||
code.dup();
|
||||
code.aload().setParam(0);
|
||||
code.checkcast().setType(Calendar.class);
|
||||
code.invokevirtual().setMethod(Calendar.class, "getFirstDayOfWeek",
|
||||
int.class, null);
|
||||
code.invokevirtual().setMethod(type, "setFirstDayOfWeek",
|
||||
void.class, new Class[] { int.class });
|
||||
|
||||
code.dup();
|
||||
code.aload().setParam(0);
|
||||
code.checkcast().setType(Calendar.class);
|
||||
code.invokevirtual().setMethod(Calendar.class,
|
||||
"getMinimalDaysInFirstWeek", int.class, null);
|
||||
code.invokevirtual().setMethod(type, "setMinimalDaysInFirstWeek",
|
||||
void.class, new Class[] { int.class });
|
||||
|
||||
code.dup();
|
||||
code.aload().setParam(0);
|
||||
code.checkcast().setType(Calendar.class);
|
||||
|
|
Loading…
Reference in New Issue