Offset 1, 2 lines modified | Offset 1, 2 lines modified | ||
1 | · | 1 | ·e899d94947f8c8a6bba5fc672e324628·5483624·java·optional·libopenjpa-java_2.4.2-6_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2018-10-16·23:15:26.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2018-10-16·23:15:26.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····8872·2018-10-16·23:15:26.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····8872·2018-10-16·23:15:26.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··54745 | 3 | -rw-r--r--···0········0········0··5474560·2018-10-16·23:15:26.000000·data.tar.xz |
Offset 345, 21 lines modified | Offset 345, 21 lines modified | ||
345 | -rw-r--r--···0·root·········(0)·root·········(0)·····4244·2017-01-03·10:37:39.000000·./usr/share/doc/libopenjpa-java/examples/simple/src/main/java/reversemapping/schema/loadFLIGHTS1.sql.gz | 345 | -rw-r--r--···0·root·········(0)·root·········(0)·····4244·2017-01-03·10:37:39.000000·./usr/share/doc/libopenjpa-java/examples/simple/src/main/java/reversemapping/schema/loadFLIGHTS1.sql.gz |
346 | -rw-r--r--···0·root·········(0)·root·········(0)·····4543·2017-01-03·10:37:39.000000·./usr/share/doc/libopenjpa-java/examples/simple/src/main/java/reversemapping/schema/loadFLIGHTS2.sql.gz | 346 | -rw-r--r--···0·root·········(0)·root·········(0)·····4543·2017-01-03·10:37:39.000000·./usr/share/doc/libopenjpa-java/examples/simple/src/main/java/reversemapping/schema/loadFLIGHTS2.sql.gz |
347 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/doc-base/ | 347 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/doc-base/ |
348 | -rw-r--r--···0·root·········(0)·root·········(0)······339·2016-04-04·12:54:37.000000·./usr/share/doc-base/libopenjpa-java-releasenotes | 348 | -rw-r--r--···0·root·········(0)·root·········(0)······339·2016-04-04·12:54:37.000000·./usr/share/doc-base/libopenjpa-java-releasenotes |
349 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/java/ | 349 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/java/ |
350 | -rw-r--r--···0·root·········(0)·root·········(0)··1449031·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-jdbc.jar | 350 | -rw-r--r--···0·root·········(0)·root·········(0)··1449031·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-jdbc.jar |
351 | -rw-r--r--···0·root·········(0)·root·········(0)···217168·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-jest.jar | 351 | -rw-r--r--···0·root·········(0)·root·········(0)···217168·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-jest.jar |
352 | -rw-r--r--···0·root·········(0)·root·········(0)··14706 | 352 | -rw-r--r--···0·root·········(0)·root·········(0)··1470606·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-kernel.jar |
353 | -rw-r--r--···0·root·········(0)·root·········(0)···454862·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-lib.jar | 353 | -rw-r--r--···0·root·········(0)·root·········(0)···454862·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-lib.jar |
354 | -rw-r--r--···0·root·········(0)·root·········(0)···146163·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-persistence-jdbc.jar | 354 | -rw-r--r--···0·root·········(0)·root·········(0)···146163·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-persistence-jdbc.jar |
355 | -rw-r--r--···0·root·········(0)·root·········(0)···804845·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-persistence.jar | 355 | -rw-r--r--···0·root·········(0)·root·········(0)···804845·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-persistence.jar |
356 | -rw-r--r--···0·root·········(0)·root·········(0)····89663·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-slice.jar | 356 | -rw-r--r--···0·root·········(0)·root·········(0)····89663·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-slice.jar |
357 | -rw-r--r--···0·root·········(0)·root·········(0)····23745·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-xmlstore.jar | 357 | -rw-r--r--···0·root·········(0)·root·········(0)····23745·2018-10-16·23:15:26.000000·./usr/share/java/openjpa-xmlstore.jar |
358 | -rw-r--r--···0·root·········(0)·root·········(0)··43234 | 358 | -rw-r--r--···0·root·········(0)·root·········(0)··4323428·2018-10-16·23:15:26.000000·./usr/share/java/openjpa.jar |
359 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/maven-repo/ | 359 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/maven-repo/ |
360 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/maven-repo/org/ | 360 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/maven-repo/org/ |
361 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/maven-repo/org/apache/ | 361 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/maven-repo/org/apache/ |
362 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/maven-repo/org/apache/openjpa/ | 362 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/maven-repo/org/apache/openjpa/ |
363 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/maven-repo/org/apache/openjpa/openjpa/ | 363 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/maven-repo/org/apache/openjpa/openjpa/ |
364 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/maven-repo/org/apache/openjpa/openjpa/2.4.2/ | 364 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-10-16·23:15:26.000000·./usr/share/maven-repo/org/apache/openjpa/openjpa/2.4.2/ |
365 | -rw-r--r--···0·root·········(0)·root·········(0)·····4308·2018-10-16·23:15:26.000000·./usr/share/maven-repo/org/apache/openjpa/openjpa/2.4.2/openjpa-2.4.2.pom | 365 | -rw-r--r--···0·root·········(0)·root·········(0)·····4308·2018-10-16·23:15:26.000000·./usr/share/maven-repo/org/apache/openjpa/openjpa/2.4.2/openjpa-2.4.2.pom |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | Zip·file·size:·14706 | 1 | Zip·file·size:·1470606·bytes,·number·of·entries:·717 |
2 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Oct-16·23:15·META-INF/ | 2 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Oct-16·23:15·META-INF/ |
3 | -rw-r--r--··2.0·unx······416·b-·defN·18-Oct-16·23:15·META-INF/MANIFEST.MF | 3 | -rw-r--r--··2.0·unx······416·b-·defN·18-Oct-16·23:15·META-INF/MANIFEST.MF |
4 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Oct-16·23:15·META-INF/maven/ | 4 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Oct-16·23:15·META-INF/maven/ |
5 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/ | 5 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/ |
6 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/openjpa-kernel/ | 6 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/openjpa-kernel/ |
7 | -rw-r--r--··2.0·unx·······98·b-·defN·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/openjpa-kernel/pom.properties | 7 | -rw-r--r--··2.0·unx·······98·b-·defN·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/openjpa-kernel/pom.properties |
8 | -rw-r--r--··2.0·unx·····5337·b-·defN·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/openjpa-kernel/pom.xml | 8 | -rw-r--r--··2.0·unx·····5337·b-·defN·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/openjpa-kernel/pom.xml |
Offset 712, 8 lines modified | Offset 712, 8 lines modified | ||
712 | -rw-r--r--··2.0·unx·····4378·b-·defN·18-Oct-16·23:15·org/apache/openjpa/util/localizer.properties | 712 | -rw-r--r--··2.0·unx·····4378·b-·defN·18-Oct-16·23:15·org/apache/openjpa/util/localizer.properties |
713 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Oct-16·23:15·org/apache/openjpa/validation/ | 713 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Oct-16·23:15·org/apache/openjpa/validation/ |
714 | -rw-r--r--··2.0·unx·····1331·b-·defN·18-Oct-16·23:15·org/apache/openjpa/validation/AbstractValidator.class | 714 | -rw-r--r--··2.0·unx·····1331·b-·defN·18-Oct-16·23:15·org/apache/openjpa/validation/AbstractValidator.class |
715 | -rw-r--r--··2.0·unx·····3489·b-·defN·18-Oct-16·23:15·org/apache/openjpa/validation/ValidatingLifecycleEventManager.class | 715 | -rw-r--r--··2.0·unx·····3489·b-·defN·18-Oct-16·23:15·org/apache/openjpa/validation/ValidatingLifecycleEventManager.class |
716 | -rw-r--r--··2.0·unx······683·b-·defN·18-Oct-16·23:15·org/apache/openjpa/validation/ValidationException.class | 716 | -rw-r--r--··2.0·unx······683·b-·defN·18-Oct-16·23:15·org/apache/openjpa/validation/ValidationException.class |
717 | -rw-r--r--··2.0·unx·····1047·b-·defN·18-Oct-16·23:15·org/apache/openjpa/validation/ValidationUnavailableException.class | 717 | -rw-r--r--··2.0·unx·····1047·b-·defN·18-Oct-16·23:15·org/apache/openjpa/validation/ValidationUnavailableException.class |
718 | -rw-r--r--··2.0·unx······918·b-·defN·18-Oct-16·23:15·org/apache/openjpa/validation/Validator.class | 718 | -rw-r--r--··2.0·unx······918·b-·defN·18-Oct-16·23:15·org/apache/openjpa/validation/Validator.class |
719 | 717·files,·3351546·bytes·uncompressed,·13437 | 719 | 717·files,·3351546·bytes·uncompressed,·1343730·bytes·compressed:··59.9% |
Offset 6, 22 lines modified | Offset 6, 22 lines modified | ||
6 | import·java.sql.Date; | 6 | import·java.sql.Date; |
7 | public·class·java$sql$Date$proxy·extends·Date·implements·ProxyDate | 7 | public·class·java$sql$Date$proxy·extends·Date·implements·ProxyDate |
8 | { | 8 | { |
9 | ····private·transient·OpenJPAStateManager·sm; | 9 | ····private·transient·OpenJPAStateManager·sm; |
10 | ····private·transient·int·field; | 10 | ····private·transient·int·field; |
11 | ···· | 11 | ···· |
12 | ····public·java$sql$Date$proxy(final·int·year,·final·int·month,·final·int·day)·{ | ||
13 | ········super(year,·month,·day); | ||
14 | ····} | ||
15 | ···· | ||
16 | ····public·java$sql$Date$proxy(final·long·date)·{ | 12 | ····public·java$sql$Date$proxy(final·long·date)·{ |
17 | ········super(date); | 13 | ········super(date); |
18 | ····} | 14 | ····} |
19 | ···· | 15 | ···· |
16 | ····public·java$sql$Date$proxy(final·int·year,·final·int·month,·final·int·day)·{ | ||
17 | ········super(year,·month,·day); | ||
18 | ····} | ||
19 | ···· | ||
20 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 20 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
21 | ········this.sm·=·sm; | 21 | ········this.sm·=·sm; |
22 | ········this.field·=·field; | 22 | ········this.field·=·field; |
23 | ····} | 23 | ····} |
24 | ···· | 24 | ···· |
25 | ····public·OpenJPAStateManager·getOwner()·{ | 25 | ····public·OpenJPAStateManager·getOwner()·{ |
26 | ········return·this.sm; | 26 | ········return·this.sm; |
Offset 7, 22 lines modified | Offset 7, 22 lines modified | ||
7 | import·java.sql.Time; | 7 | import·java.sql.Time; |
8 | public·class·java$sql$Time$proxy·extends·Time·implements·ProxyDate | 8 | public·class·java$sql$Time$proxy·extends·Time·implements·ProxyDate |
9 | { | 9 | { |
10 | ····private·transient·OpenJPAStateManager·sm; | 10 | ····private·transient·OpenJPAStateManager·sm; |
11 | ····private·transient·int·field; | 11 | ····private·transient·int·field; |
12 | ···· | 12 | ···· |
13 | ····public·java$sql$Time$proxy(final·int·hour,·final·int·minute,·final·int·second)·{ | ||
14 | ········super(hour,·minute,·second); | ||
15 | ····} | ||
16 | ···· | ||
17 | ····public·java$sql$Time$proxy(final·long·time)·{ | 13 | ····public·java$sql$Time$proxy(final·long·time)·{ |
18 | ········super(time); | 14 | ········super(time); |
19 | ····} | 15 | ····} |
20 | ···· | 16 | ···· |
17 | ····public·java$sql$Time$proxy(final·int·hour,·final·int·minute,·final·int·second)·{ | ||
18 | ········super(hour,·minute,·second); | ||
19 | ····} | ||
20 | ···· | ||
21 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 21 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
22 | ········this.sm·=·sm; | 22 | ········this.sm·=·sm; |
23 | ········this.field·=·field; | 23 | ········this.field·=·field; |
24 | ····} | 24 | ····} |
25 | ···· | 25 | ···· |
26 | ····public·OpenJPAStateManager·getOwner()·{ | 26 | ····public·OpenJPAStateManager·getOwner()·{ |
27 | ········return·this.sm; | 27 | ········return·this.sm; |
Offset 1, 37 lines modified | Offset 1, 37 lines modified | ||
1 | package·org.apache.openjpa.util; | 1 | package·org.apache.openjpa.util; |
2 | import·java.io.ObjectStreamException; | 2 | import·java.io.ObjectStreamException; |
3 | import·java.util.function.Predicate; | 3 | import·java.util.function.Predicate; |
4 | import·java.util.ListIterator; | ||
5 | import·java.util.Iterator; | 4 | import·java.util.Iterator; |
5 | import·java.util.ListIterator; | ||
6 | import·java.util.Comparator; | 6 | import·java.util.Comparator; |
7 | import·java.util.Collection; | 7 | import·java.util.Collection; |
8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; | 8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; |
9 | import·java.util.ArrayList; | 9 | import·java.util.ArrayList; |
10 | public·class·java$util$ArrayList$proxy·extends·ArrayList·implements·ProxyCollection | 10 | public·class·java$util$ArrayList$proxy·extends·ArrayList·implements·ProxyCollection |
11 | { | 11 | { |
12 | ····private·transient·OpenJPAStateManager·sm; | 12 | ····private·transient·OpenJPAStateManager·sm; |
13 | ····private·transient·int·field; | 13 | ····private·transient·int·field; |
14 | ····private·transient·CollectionChangeTracker·changeTracker; | 14 | ····private·transient·CollectionChangeTracker·changeTracker; |
15 | ····private·transient·Class·elementType; | 15 | ····private·transient·Class·elementType; |
16 | ···· | 16 | ···· |
17 | ····public·java$util$ArrayList$proxy(final·int·initialCapacity)·{ | ||
18 | ········super(initialCapacity); | ||
19 | ····} | ||
20 | ···· | ||
17 | ····public·java$util$ArrayList$proxy(final·Collection·c)·{ | 21 | ····public·java$util$ArrayList$proxy(final·Collection·c)·{ |
18 | ········super(c); | 22 | ········super(c); |
19 | ····} | 23 | ····} |
20 | ···· | 24 | ···· |
21 | ····public·java$util$ArrayList$proxy()·{ | 25 | ····public·java$util$ArrayList$proxy()·{ |
22 | ····} | 26 | ····} |
23 | ···· | 27 | ···· |
24 | ····public·java$util$ArrayList$proxy(final·int·initialCapacity)·{ | ||
25 | ········super(initialCapacity); | ||
26 | ····} | ||
27 | ···· | ||
28 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 28 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
29 | ········this.sm·=·sm; | 29 | ········this.sm·=·sm; |
30 | ········this.field·=·field; | 30 | ········this.field·=·field; |
31 | ····} | 31 | ····} |
32 | ···· | 32 | ···· |
33 | ····public·OpenJPAStateManager·getOwner()·{ | 33 | ····public·OpenJPAStateManager·getOwner()·{ |
34 | ········return·this.sm; | 34 | ········return·this.sm; |
Offset 64, 72 lines modified | Offset 64, 72 lines modified | ||
64 | ········java$util$ArrayList$proxy.elementType·=·elementType; | 64 | ········java$util$ArrayList$proxy.elementType·=·elementType; |
65 | ········if·(b)·{ | 65 | ········if·(b)·{ |
66 | ············java$util$ArrayList$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$ArrayList$proxy,·true,·true,·b2); | 66 | ············java$util$ArrayList$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$ArrayList$proxy,·true,·true,·b2); |
67 | ········} | 67 | ········} |
68 | ········return·(ProxyCollection)java$util$ArrayList$proxy; | 68 | ········return·(ProxyCollection)java$util$ArrayList$proxy; |
69 | ····} | 69 | ····} |
70 | ···· | 70 | ···· |
71 | ····public·boolean·add(final·Object·e)·{ | ||
72 | ···· | 71 | ····public·ListIterator·listIterator(final·int·index)·{ |
72 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·index,·(ListIterator)super.listIterator(index)); | ||
73 | ····} | ||
74 | ···· | ||
75 | ····public·ListIterator·listIterator()·{ | ||
73 | ········return·ProxyCollections.after | 76 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·(ListIterator)super.listIterator()); |
74 | ····} | 77 | ····} |
75 | ···· | 78 | ···· |
76 | ····public·void·add(final·int·index,·final·Object·element)·{ | 79 | ····public·void·add(final·int·index,·final·Object·element)·{ |
77 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·index,·element); | 80 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·index,·element); |
78 | ········super.add(index,·element); | 81 | ········super.add(index,·element); |
79 | ····} | 82 | ····} |
80 | ···· | 83 | ···· |
81 | ····public·boolean· | 84 | ····public·boolean·add(final·Object·e)·{ |
82 | ········ProxyCollections.before | 85 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); |
83 | ········return·ProxyCollections.after | 86 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); |
84 | ····} | 87 | ····} |
85 | ···· | 88 | ···· |
86 | ····public·Object·remove(final·int·index)·{ | 89 | ····public·Object·remove(final·int·index)·{ |
87 | ········ProxyCollections.beforeRemove((ProxyCollection)this,·index); | 90 | ········ProxyCollections.beforeRemove((ProxyCollection)this,·index); |
88 | ········return·ProxyCollections.afterRemove((ProxyCollection)this,·index,·super.remove(index)); | 91 | ········return·ProxyCollections.afterRemove((ProxyCollection)this,·index,·super.remove(index)); |
89 | ····} | 92 | ····} |
90 | ···· | 93 | ···· |
94 | ····public·boolean·remove(final·Object·o)·{ | ||
95 | ········ProxyCollections.beforeRemove((ProxyCollection)this,·o); | ||
96 | ········return·ProxyCollections.afterRemove((ProxyCollection)this,·o,·super.remove(o)); | ||
97 | ····} | ||
98 | ···· | ||
91 | ····public·void·clear()·{ | 99 | ····public·void·clear()·{ |
92 | ········ProxyCollections.beforeClear((ProxyCollection)this); | 100 | ········ProxyCollections.beforeClear((ProxyCollection)this); |
93 | ········super.clear(); | 101 | ········super.clear(); |
94 | ····} | 102 | ····} |
95 | ···· | 103 | ···· |
96 | ····public·Iterator·iterator()·{ | 104 | ····public·Iterator·iterator()·{ |
97 | ········return·ProxyCollections.afterIterator((ProxyCollection)this,·(Iterator)super.iterator()); | 105 | ········return·ProxyCollections.afterIterator((ProxyCollection)this,·(Iterator)super.iterator()); |
98 | ····} | 106 | ····} |
99 | ···· | 107 | ···· |
100 | ····public·boolean·addAll(final·Collection·collection)·{ | ||
101 | ········return·ProxyCollections.addAll((ProxyCollection)this,·collection); | ||
102 | ····} | ||
103 | ···· | ||
104 | ····public·boolean·addAll(final·int·n,·final·Collection·collection)·{ | 108 | ····public·boolean·addAll(final·int·n,·final·Collection·collection)·{ |
105 | ········return·ProxyCollections.addAll((ProxyCollection)this,·n,·collection); | 109 | ········return·ProxyCollections.addAll((ProxyCollection)this,·n,·collection); |
106 | ····} | 110 | ····} |
107 | ···· | 111 | ···· |
112 | ····public·boolean·addAll(final·Collection·collection)·{ | ||
113 | ········return·ProxyCollections.addAll((ProxyCollection)this,·collection); | ||
114 | ····} | ||
115 | ···· | ||
108 | ····public·Object·set(final·int·index,·final·Object·element)·{ | 116 | ····public·Object·set(final·int·index,·final·Object·element)·{ |
109 | ········ProxyCollections.beforeSet((ProxyCollection)this,·index,·element); | 117 | ········ProxyCollections.beforeSet((ProxyCollection)this,·index,·element); |
110 | ········return·ProxyCollections.afterSet((ProxyCollection)this,·index,·element,·super.set(index,·element)); | 118 | ········return·ProxyCollections.afterSet((ProxyCollection)this,·index,·element,·super.set(index,·element)); |
111 | ····} | 119 | ····} |
112 | ···· | 120 | ···· |
113 | ····public·boolean·retainAll(final·Collection·collection)·{ | 121 | ····public·boolean·retainAll(final·Collection·collection)·{ |
114 | ········return·ProxyCollections.retainAll((ProxyCollection)this,·collection); | 122 | ········return·ProxyCollections.retainAll((ProxyCollection)this,·collection); |
115 | ····} | 123 | ····} |
116 | ···· | 124 | ···· |
117 | ····public·boolean·removeAll(final·Collection·collection)·{ | 125 | ····public·boolean·removeAll(final·Collection·collection)·{ |
118 | ········return·ProxyCollections.removeAll((ProxyCollection)this,·collection); | 126 | ········return·ProxyCollections.removeAll((ProxyCollection)this,·collection); |
119 | ····} | 127 | ····} |
120 | ···· | 128 | ···· |
121 | ····public·ListIterator·listIterator(final·int·index)·{ | ||
122 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·index,·(ListIterator)super.listIterator(index)); | ||
123 | ····} | ||
124 | ···· | ||
125 | ····public·ListIterator·listIterator()·{ | ||
126 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·(ListIterator)super.listIterator()); | ||
127 | ····} | ||
128 | ···· | ||
129 | ····public·boolean·removeIf(final·Predicate·filter)·{ | 129 | ····public·boolean·removeIf(final·Predicate·filter)·{ |
130 | ········Proxies.dirty((Proxy)this,·true); | 130 | ········Proxies.dirty((Proxy)this,·true); |
131 | ········return·super.removeIf(filter); | 131 | ········return·super.removeIf(filter); |
132 | ····} | 132 | ····} |
133 | ···· | 133 | ···· |
134 | ····protected·Object·writeReplace()·throws·ObjectStreamException·{ | 134 | ····protected·Object·writeReplace()·throws·ObjectStreamException·{ |
Max diff block lines reached; 0/5090 bytes (0.00%) of diff not shown. |
Offset 6, 27 lines modified | Offset 6, 27 lines modified | ||
6 | import·java.util.Date; | 6 | import·java.util.Date; |
7 | public·class·java$util$Date$proxy·extends·Date·implements·ProxyDate | 7 | public·class·java$util$Date$proxy·extends·Date·implements·ProxyDate |
8 | { | 8 | { |
9 | ····private·transient·OpenJPAStateManager·sm; | 9 | ····private·transient·OpenJPAStateManager·sm; |
10 | ····private·transient·int·field; | 10 | ····private·transient·int·field; |
11 | ···· | 11 | ···· |
12 | ····public·java$util$Date$proxy(final·String·s)·{ | ||
13 | ········super(s); | ||
14 | ····} | ||
15 | ···· | ||
16 | ····public·java$util$Date$proxy(final·int·year,·final·int·month,·final·int·date,·final·int·hrs,·final·int·min,·final·int·sec)·{ | 12 | ····public·java$util$Date$proxy(final·int·year,·final·int·month,·final·int·date,·final·int·hrs,·final·int·min,·final·int·sec)·{ |
17 | ········super(year,·month,·date,·hrs,·min,·sec); | 13 | ········super(year,·month,·date,·hrs,·min,·sec); |
18 | ····} | 14 | ····} |
19 | ···· | 15 | ···· |
16 | ····public·java$util$Date$proxy()·{ | ||
17 | ····} | ||
18 | ···· | ||
20 | ····public·java$util$Date$proxy(final·int·year,·final·int·month,·final·int·date,·final·int·hrs,·final·int·min)·{ | 19 | ····public·java$util$Date$proxy(final·int·year,·final·int·month,·final·int·date,·final·int·hrs,·final·int·min)·{ |
21 | ········super(year,·month,·date,·hrs,·min); | 20 | ········super(year,·month,·date,·hrs,·min); |
22 | ····} | 21 | ····} |
23 | ···· | 22 | ···· |
24 | ····public·java$util$Date$proxy()·{ | 23 | ····public·java$util$Date$proxy(final·String·s)·{ |
24 | ········super(s); | ||
25 | ····} | 25 | ····} |
26 | ···· | 26 | ···· |
27 | ····public·java$util$Date$proxy(final·long·date)·{ | 27 | ····public·java$util$Date$proxy(final·long·date)·{ |
28 | ········super(date); | 28 | ········super(date); |
29 | ····} | 29 | ····} |
30 | ···· | 30 | ···· |
31 | ····public·java$util$Date$proxy(final·int·year,·final·int·month,·final·int·date)·{ | 31 | ····public·java$util$Date$proxy(final·int·year,·final·int·month,·final·int·date)·{ |
Offset 25, 26 lines modified | Offset 25, 26 lines modified | ||
25 | { | 25 | { |
26 | ····private·transient·OpenJPAStateManager·sm; | 26 | ····private·transient·OpenJPAStateManager·sm; |
27 | ····private·transient·int·field; | 27 | ····private·transient·int·field; |
28 | ····private·transient·MapChangeTracker·changeTracker; | 28 | ····private·transient·MapChangeTracker·changeTracker; |
29 | ····private·transient·Class·keyType; | 29 | ····private·transient·Class·keyType; |
30 | ····private·transient·Class·valueType; | 30 | ····private·transient·Class·valueType; |
31 | ···· | 31 | ···· |
32 | ····public·java$util$EnumMap$proxy(final·Class·keyType)·{ | ||
33 | ········super(keyType); | ||
34 | ····} | ||
35 | ···· | ||
36 | ····public·java$util$EnumMap$proxy(final·Map·m)·{ | 32 | ····public·java$util$EnumMap$proxy(final·Map·m)·{ |
37 | ········super(m); | 33 | ········super(m); |
38 | ····} | 34 | ····} |
39 | ···· | 35 | ···· |
40 | ····public·java$util$EnumMap$proxy(final·EnumMap·m)·{ | 36 | ····public·java$util$EnumMap$proxy(final·EnumMap·m)·{ |
41 | ········super(m); | 37 | ········super(m); |
42 | ····} | 38 | ····} |
43 | ···· | 39 | ···· |
40 | ····public·java$util$EnumMap$proxy(final·Class·keyType)·{ | ||
41 | ········super(keyType); | ||
42 | ····} | ||
43 | ···· | ||
44 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 44 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
45 | ········this.sm·=·sm; | 45 | ········this.sm·=·sm; |
46 | ········this.field·=·field; | 46 | ········this.field·=·field; |
47 | ····} | 47 | ····} |
48 | ···· | 48 | ···· |
49 | ····public·OpenJPAStateManager·getOwner()·{ | 49 | ····public·OpenJPAStateManager·getOwner()·{ |
50 | ········return·this.sm; | 50 | ········return·this.sm; |
Offset 10, 41 lines modified | Offset 10, 41 lines modified | ||
10 | import·java.util.GregorianCalendar; | 10 | import·java.util.GregorianCalendar; |
11 | public·class·java$util$GregorianCalendar$proxy·extends·GregorianCalendar·implements·ProxyCalendar | 11 | public·class·java$util$GregorianCalendar$proxy·extends·GregorianCalendar·implements·ProxyCalendar |
12 | { | 12 | { |
13 | ····private·transient·OpenJPAStateManager·sm; | 13 | ····private·transient·OpenJPAStateManager·sm; |
14 | ····private·transient·int·field; | 14 | ····private·transient·int·field; |
15 | ···· | 15 | ···· |
16 | ····public·java$util$GregorianCalendar$proxy(final·int·year,·final·int·month,·final·int·dayOfMonth)·{ | ||
17 | ········super(year,·month,·dayOfMonth); | ||
18 | ····} | ||
19 | ···· | ||
20 | ····public·java$util$GregorianCalendar$proxy(final·int·year,·final·int·month,·final·int·dayOfMonth,·final·int·hourOfDay,·final·int·minute)·{ | 16 | ····public·java$util$GregorianCalendar$proxy(final·int·year,·final·int·month,·final·int·dayOfMonth,·final·int·hourOfDay,·final·int·minute)·{ |
21 | ········super(year,·month,·dayOfMonth,·hourOfDay,·minute); | 17 | ········super(year,·month,·dayOfMonth,·hourOfDay,·minute); |
22 | ····} | 18 | ····} |
23 | ···· | 19 | ···· |
24 | ····public·java$util$GregorianCalendar$proxy(final·int·year,·final·int·month,·final·int·dayOfMonth,·final·int·hourOfDay,·final·int·minute,·final·int·second)·{ | 20 | ····public·java$util$GregorianCalendar$proxy(final·int·year,·final·int·month,·final·int·dayOfMonth,·final·int·hourOfDay,·final·int·minute,·final·int·second)·{ |
25 | ········super(year,·month,·dayOfMonth,·hourOfDay,·minute,·second); | 21 | ········super(year,·month,·dayOfMonth,·hourOfDay,·minute,·second); |
26 | ····} | 22 | ····} |
27 | ···· | 23 | ···· |
28 | ····public·java$util$GregorianCalendar$proxy()·{ | ||
29 | ····} | ||
30 | ···· | ||
31 | ····public·java$util$GregorianCalendar$proxy(final·TimeZone·zone)·{ | 24 | ····public·java$util$GregorianCalendar$proxy(final·TimeZone·zone)·{ |
32 | ········super(zone); | 25 | ········super(zone); |
33 | ····} | 26 | ····} |
34 | ···· | 27 | ···· |
35 | ····public·java$util$GregorianCalendar$proxy(final·Locale·aLocale)·{ | 28 | ····public·java$util$GregorianCalendar$proxy(final·Locale·aLocale)·{ |
36 | ········super(aLocale); | 29 | ········super(aLocale); |
37 | ····} | 30 | ····} |
38 | ···· | 31 | ···· |
39 | ····public·java$util$GregorianCalendar$proxy(final·TimeZone·zone,·final·Locale·aLocale)·{ | 32 | ····public·java$util$GregorianCalendar$proxy(final·TimeZone·zone,·final·Locale·aLocale)·{ |
40 | ········super(zone,·aLocale); | 33 | ········super(zone,·aLocale); |
41 | ····} | 34 | ····} |
42 | ···· | 35 | ···· |
36 | ····public·java$util$GregorianCalendar$proxy(final·int·year,·final·int·month,·final·int·dayOfMonth)·{ | ||
37 | ········super(year,·month,·dayOfMonth); | ||
38 | ····} | ||
39 | ···· | ||
40 | ····public·java$util$GregorianCalendar$proxy()·{ | ||
41 | ····} | ||
42 | ···· | ||
43 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 43 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
44 | ········this.sm·=·sm; | 44 | ········this.sm·=·sm; |
45 | ········this.field·=·field; | 45 | ········this.field·=·field; |
46 | ····} | 46 | ····} |
47 | ···· | 47 | ···· |
48 | ····public·OpenJPAStateManager·getOwner()·{ | 48 | ····public·OpenJPAStateManager·getOwner()·{ |
49 | ········return·this.sm; | 49 | ········return·this.sm; |
Offset 79, 24 lines modified | Offset 79, 14 lines modified | ||
79 | ····} | 79 | ····} |
80 | ···· | 80 | ···· |
81 | ····protected·void·computeFields()·{ | 81 | ····protected·void·computeFields()·{ |
82 | ········Proxies.dirty((Proxy)this,·true); | 82 | ········Proxies.dirty((Proxy)this,·true); |
83 | ········super.computeFields(); | 83 | ········super.computeFields(); |
84 | ····} | 84 | ····} |
85 | ···· | 85 | ···· |
86 | ····public·void·add(final·int·field,·final·int·amount)·{ | ||
87 | ········Proxies.dirty((Proxy)this,·true); | ||
88 | ········super.add(field,·amount); | ||
89 | ····} | ||
90 | ···· | ||
91 | ····public·void·setTimeZone(final·TimeZone·timeZone)·{ | ||
92 | ········Proxies.dirty((Proxy)this,·true); | ||
93 | ········super.setTimeZone(timeZone); | ||
94 | ····} | ||
95 | ···· | ||
96 | ····public·void·roll(final·int·field,·final·boolean·up)·{ | 86 | ····public·void·roll(final·int·field,·final·boolean·up)·{ |
97 | ········Proxies.dirty((Proxy)this,·true); | 87 | ········Proxies.dirty((Proxy)this,·true); |
98 | ········super.roll(field,·up); | 88 | ········super.roll(field,·up); |
99 | ····} | 89 | ····} |
100 | ···· | 90 | ···· |
101 | ····public·void·roll(final·int·field,·final·int·amount)·{ | 91 | ····public·void·roll(final·int·field,·final·int·amount)·{ |
102 | ········Proxies.dirty((Proxy)this,·true); | 92 | ········Proxies.dirty((Proxy)this,·true); |
Offset 109, 17 lines modified | Offset 99, 22 lines modified | ||
109 | ····} | 99 | ····} |
110 | ···· | 100 | ···· |
111 | ····public·void·setGregorianChange(final·Date·gregorianChange)·{ | 101 | ····public·void·setGregorianChange(final·Date·gregorianChange)·{ |
112 | ········Proxies.dirty((Proxy)this,·true); | 102 | ········Proxies.dirty((Proxy)this,·true); |
113 | ········super.setGregorianChange(gregorianChange); | 103 | ········super.setGregorianChange(gregorianChange); |
114 | ····} | 104 | ····} |
115 | ···· | 105 | ···· |
116 | ····public·void· | 106 | ····public·void·add(final·int·field,·final·int·amount)·{ |
117 | ········Proxies.dirty((Proxy)this,·true); | 107 | ········Proxies.dirty((Proxy)this,·true); |
118 | ········super. | 108 | ········super.add(field,·amount); |
109 | ····} | ||
110 | ···· | ||
111 | ····public·void·setTimeZone(final·TimeZone·timeZone)·{ | ||
112 | ········Proxies.dirty((Proxy)this,·true); | ||
113 | ········super.setTimeZone(timeZone); | ||
119 | ····} | 114 | ····} |
120 | ···· | 115 | ···· |
121 | ····public·void·setTimeInMillis(final·long·timeInMillis)·{ | 116 | ····public·void·setTimeInMillis(final·long·timeInMillis)·{ |
122 | ········Proxies.dirty((Proxy)this,·true); | 117 | ········Proxies.dirty((Proxy)this,·true); |
123 | ········super.setTimeInMillis(timeInMillis); | 118 | ········super.setTimeInMillis(timeInMillis); |
124 | ····} | 119 | ····} |
125 | ···· | 120 | ···· |
Offset 134, 11 lines modified | Offset 129, 16 lines modified | ||
134 | ····} | 129 | ····} |
135 | ···· | 130 | ···· |
136 | ····public·void·setLenient(final·boolean·lenient)·{ | 131 | ····public·void·setLenient(final·boolean·lenient)·{ |
137 | ········Proxies.dirty((Proxy)this,·true); | 132 | ········Proxies.dirty((Proxy)this,·true); |
138 | ········super.setLenient(lenient); | 133 | ········super.setLenient(lenient); |
139 | ····} | 134 | ····} |
140 | ···· | 135 | ···· |
136 | ····public·void·set(final·int·field,·final·int·value)·{ | ||
137 | ········Proxies.dirty((Proxy)this,·true); | ||
138 | ········super.set(field,·value); | ||
139 | ····} | ||
140 | ···· | ||
141 | ····protected·Object·writeReplace()·throws·ObjectStreamException·{ | 141 | ····protected·Object·writeReplace()·throws·ObjectStreamException·{ |
142 | ········return·Proxies.writeReplace((Proxy)this,·true); | 142 | ········return·Proxies.writeReplace((Proxy)this,·true); |
143 | ····} | 143 | ····} |
144 | } | 144 | } |
Offset 13, 19 lines modified | Offset 13, 19 lines modified | ||
13 | { | 13 | { |
14 | ····private·transient·OpenJPAStateManager·sm; | 14 | ····private·transient·OpenJPAStateManager·sm; |
15 | ····private·transient·int·field; | 15 | ····private·transient·int·field; |
16 | ····private·transient·MapChangeTracker·changeTracker; | 16 | ····private·transient·MapChangeTracker·changeTracker; |
17 | ····private·transient·Class·keyType; | 17 | ····private·transient·Class·keyType; |
18 | ····private·transient·Class·valueType; | 18 | ····private·transient·Class·valueType; |
19 | ···· | 19 | ···· |
20 | ····public·java$util$IdentityHashMap$proxy( | 20 | ····public·java$util$IdentityHashMap$proxy()·{ |
21 | ········super(expectedMaxSize); | ||
22 | ····} | 21 | ····} |
23 | ···· | 22 | ···· |
24 | ····public·java$util$IdentityHashMap$proxy()·{ | 23 | ····public·java$util$IdentityHashMap$proxy(final·int·expectedMaxSize)·{ |
24 | ········super(expectedMaxSize); | ||
25 | ····} | 25 | ····} |
26 | ···· | 26 | ···· |
27 | ····public·java$util$IdentityHashMap$proxy(final·Map·m)·{ | 27 | ····public·java$util$IdentityHashMap$proxy(final·Map·m)·{ |
28 | ········super(m); | 28 | ········super(m); |
29 | ····} | 29 | ····} |
30 | ···· | 30 | ···· |
31 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 31 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
Offset 13, 31 lines modified | Offset 13, 31 lines modified | ||
13 | { | 13 | { |
14 | ····private·transient·OpenJPAStateManager·sm; | 14 | ····private·transient·OpenJPAStateManager·sm; |
15 | ····private·transient·int·field; | 15 | ····private·transient·int·field; |
16 | ····private·transient·MapChangeTracker·changeTracker; | 16 | ····private·transient·MapChangeTracker·changeTracker; |
17 | ····private·transient·Class·keyType; | 17 | ····private·transient·Class·keyType; |
18 | ····private·transient·Class·valueType; | 18 | ····private·transient·Class·valueType; |
19 | ···· | 19 | ···· |
20 | ····public·java$util$LinkedHashMap$proxy(final·int·initialCapacity,·final·float·loadFactor,·final·boolean·accessOrder)·{ | ||
21 | ········super(initialCapacity,·loadFactor,·accessOrder); | ||
22 | ····} | ||
23 | ···· | ||
24 | ····public·java$util$LinkedHashMap$proxy( | 20 | ····public·java$util$LinkedHashMap$proxy()·{ |
25 | ········super(m); | ||
26 | ····} | 21 | ····} |
27 | ···· | 22 | ···· |
28 | ····public·java$util$LinkedHashMap$proxy(final·int·initialCapacity)·{ | 23 | ····public·java$util$LinkedHashMap$proxy(final·int·initialCapacity)·{ |
29 | ········super(initialCapacity); | 24 | ········super(initialCapacity); |
30 | ····} | 25 | ····} |
31 | ···· | 26 | ···· |
32 | ····public·java$util$LinkedHashMap$proxy(final·int·initialCapacity,·final·float·loadFactor)·{ | 27 | ····public·java$util$LinkedHashMap$proxy(final·int·initialCapacity,·final·float·loadFactor)·{ |
33 | ········super(initialCapacity,·loadFactor); | 28 | ········super(initialCapacity,·loadFactor); |
34 | ····} | 29 | ····} |
35 | ···· | 30 | ···· |
36 | ····public·java$util$LinkedHashMap$proxy()·{ | 31 | ····public·java$util$LinkedHashMap$proxy(final·Map·m)·{ |
32 | ········super(m); | ||
33 | ····} | ||
34 | ···· | ||
35 | ····public·java$util$LinkedHashMap$proxy(final·int·initialCapacity,·final·float·loadFactor,·final·boolean·accessOrder)·{ | ||
36 | ········super(initialCapacity,·loadFactor,·accessOrder); | ||
37 | ····} | 37 | ····} |
38 | ···· | 38 | ···· |
39 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 39 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
40 | ········this.sm·=·sm; | 40 | ········this.sm·=·sm; |
41 | ········this.field·=·field; | 41 | ········this.field·=·field; |
42 | ····} | 42 | ····} |
43 | ···· | 43 | ···· |
Offset 60, 14 lines modified | Offset 60, 44 lines modified | ||
60 | ········java$util$LinkedList$proxy.elementType·=·elementType; | 60 | ········java$util$LinkedList$proxy.elementType·=·elementType; |
61 | ········if·(b)·{ | 61 | ········if·(b)·{ |
62 | ············java$util$LinkedList$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$LinkedList$proxy,·true,·true,·b2); | 62 | ············java$util$LinkedList$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$LinkedList$proxy,·true,·true,·b2); |
63 | ········} | 63 | ········} |
64 | ········return·(ProxyCollection)java$util$LinkedList$proxy; | 64 | ········return·(ProxyCollection)java$util$LinkedList$proxy; |
65 | ····} | 65 | ····} |
66 | ···· | 66 | ···· |
67 | ····public·ListIterator·listIterator(final·int·index)·{ | ||
68 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·index,·(ListIterator)super.listIterator(index)); | ||
69 | ····} | ||
70 | ···· | ||
71 | ····public·void·addLast(final·Object·e)·{ | ||
72 | ········ProxyCollections.beforeAddLast((ProxyCollection)this,·e); | ||
73 | ········super.addLast(e); | ||
74 | ········ProxyCollections.afterAddLast((ProxyCollection)this,·e); | ||
75 | ····} | ||
76 | ···· | ||
77 | ····public·void·addFirst(final·Object·e)·{ | ||
78 | ········ProxyCollections.beforeAddFirst((ProxyCollection)this,·e); | ||
79 | ········super.addFirst(e); | ||
80 | ····} | ||
81 | ···· | ||
82 | ····public·Object·removeFirst()·{ | ||
83 | ········ProxyCollections.beforeRemoveFirst((ProxyCollection)this); | ||
84 | ········return·ProxyCollections.afterRemoveFirst((ProxyCollection)this,·super.removeFirst()); | ||
85 | ····} | ||
86 | ···· | ||
87 | ····public·Object·removeLast()·{ | ||
88 | ········ProxyCollections.beforeRemoveLast((ProxyCollection)this); | ||
89 | ········return·ProxyCollections.afterRemoveLast((ProxyCollection)this,·super.removeLast()); | ||
90 | ····} | ||
91 | ···· | ||
92 | ····public·boolean·offer(final·Object·e)·{ | ||
93 | ········ProxyCollections.beforeOffer((ProxyCollection)this,·e); | ||
94 | ········return·ProxyCollections.afterOffer((ProxyCollection)this,·e,·super.offer(e)); | ||
95 | ····} | ||
96 | ···· | ||
67 | ····public·boolean·add(final·Object·e)·{ | 97 | ····public·boolean·add(final·Object·e)·{ |
68 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); | 98 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); |
69 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); | 99 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); |
70 | ····} | 100 | ····} |
71 | ···· | 101 | ···· |
72 | ····public·void·add(final·int·index,·final·Object·element)·{ | 102 | ····public·void·add(final·int·index,·final·Object·element)·{ |
73 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·index,·element); | 103 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·index,·element); |
Offset 108, 44 lines modified | Offset 138, 14 lines modified | ||
108 | ····} | 138 | ····} |
109 | ···· | 139 | ···· |
110 | ····public·Object·poll()·{ | 140 | ····public·Object·poll()·{ |
111 | ········ProxyCollections.beforePoll((ProxyCollection)this); | 141 | ········ProxyCollections.beforePoll((ProxyCollection)this); |
112 | ········return·ProxyCollections.afterPoll((ProxyCollection)this,·super.poll()); | 142 | ········return·ProxyCollections.afterPoll((ProxyCollection)this,·super.poll()); |
113 | ····} | 143 | ····} |
114 | ···· | 144 | ···· |
115 | ····public·ListIterator·listIterator(final·int·index)·{ | ||
116 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·index,·(ListIterator)super.listIterator(index)); | ||
117 | ····} | ||
118 | ···· | ||
119 | ····public·void·addLast(final·Object·e)·{ | ||
120 | ········ProxyCollections.beforeAddLast((ProxyCollection)this,·e); | ||
121 | ········super.addLast(e); | ||
122 | ········ProxyCollections.afterAddLast((ProxyCollection)this,·e); | ||
123 | ····} | ||
124 | ···· | ||
125 | ····public·void·addFirst(final·Object·e)·{ | ||
126 | ········ProxyCollections.beforeAddFirst((ProxyCollection)this,·e); | ||
127 | ········super.addFirst(e); | ||
128 | ····} | ||
129 | ···· | ||
130 | ····public·Object·removeFirst()·{ | ||
131 | ········ProxyCollections.beforeRemoveFirst((ProxyCollection)this); | ||
132 | ········return·ProxyCollections.afterRemoveFirst((ProxyCollection)this,·super.removeFirst()); | ||
133 | ····} | ||
134 | ···· | ||
135 | ····public·Object·removeLast()·{ | ||
136 | ········ProxyCollections.beforeRemoveLast((ProxyCollection)this); | ||
137 | ········return·ProxyCollections.afterRemoveLast((ProxyCollection)this,·super.removeLast()); | ||
138 | ····} | ||
139 | ···· | ||
140 | ····public·boolean·offer(final·Object·e)·{ | ||
141 | ········ProxyCollections.beforeOffer((ProxyCollection)this,·e); | ||
142 | ········return·ProxyCollections.afterOffer((ProxyCollection)this,·e,·super.offer(e)); | ||
143 | ····} | ||
144 | ···· | ||
145 | ····public·Iterator·iterator()·{ | 145 | ····public·Iterator·iterator()·{ |
146 | ········return·ProxyCollections.afterIterator((ProxyCollection)this,·(Iterator)super.iterator()); | 146 | ········return·ProxyCollections.afterIterator((ProxyCollection)this,·(Iterator)super.iterator()); |
147 | ····} | 147 | ····} |
148 | ···· | 148 | ···· |
149 | ····public·ListIterator·listIterator()·{ | 149 | ····public·ListIterator·listIterator()·{ |
150 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·(ListIterator)super.listIterator()); | 150 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·(ListIterator)super.listIterator()); |
151 | ····} | 151 | ····} |
Offset 1, 45 lines modified | Offset 1, 45 lines modified | ||
1 | package·org.apache.openjpa.util; | 1 | package·org.apache.openjpa.util; |
2 | import·java.io.ObjectStreamException; | 2 | import·java.io.ObjectStreamException; |
3 | import·java.util.function.Predicate; | 3 | import·java.util.function.Predicate; |
4 | import·java.util.Iterator; | 4 | import·java.util.Iterator; |
5 | import·java.util.SortedSet; | ||
6 | import·java.util.Collection; | 5 | import·java.util.Collection; |
6 | import·java.util.SortedSet; | ||
7 | import·java.util.Comparator; | 7 | import·java.util.Comparator; |
8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; | 8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; |
9 | import·java.util.PriorityQueue; | 9 | import·java.util.PriorityQueue; |
10 | public·class·java$util$PriorityQueue$proxy·extends·PriorityQueue·implements·ProxyCollection | 10 | public·class·java$util$PriorityQueue$proxy·extends·PriorityQueue·implements·ProxyCollection |
11 | { | 11 | { |
12 | ····private·transient·OpenJPAStateManager·sm; | 12 | ····private·transient·OpenJPAStateManager·sm; |
13 | ····private·transient·int·field; | 13 | ····private·transient·int·field; |
14 | ····private·transient·CollectionChangeTracker·changeTracker; | 14 | ····private·transient·CollectionChangeTracker·changeTracker; |
15 | ····private·transient·Class·elementType; | 15 | ····private·transient·Class·elementType; |
16 | ···· | 16 | ···· |
17 | ····public·java$util$PriorityQueue$proxy()·{ | ||
18 | ····} | ||
19 | ···· | ||
17 | ····public·java$util$PriorityQueue$proxy(final·int·initialCapacity,·final·Comparator·comparator)·{ | 20 | ····public·java$util$PriorityQueue$proxy(final·int·initialCapacity,·final·Comparator·comparator)·{ |
18 | ········super(initialCapacity,·comparator); | 21 | ········super(initialCapacity,·comparator); |
19 | ····} | 22 | ····} |
20 | ···· | 23 | ···· |
21 | ····public·java$util$PriorityQueue$proxy(final· | 24 | ····public·java$util$PriorityQueue$proxy(final·SortedSet·c)·{ |
22 | ········super(c); | 25 | ········super(c); |
23 | ····} | 26 | ····} |
24 | ···· | 27 | ···· |
25 | ····public·java$util$PriorityQueue$proxy(final· | 28 | ····public·java$util$PriorityQueue$proxy(final·Collection·c)·{ |
26 | ········super(c); | 29 | ········super(c); |
27 | ····} | 30 | ····} |
28 | ···· | 31 | ···· |
29 | ····public·java$util$PriorityQueue$proxy(final· | 32 | ····public·java$util$PriorityQueue$proxy(final·PriorityQueue·c)·{ |
30 | ········super(c); | 33 | ········super(c); |
31 | ····} | 34 | ····} |
32 | ···· | 35 | ···· |
33 | ····public·java$util$PriorityQueue$proxy()·{ | ||
34 | ····} | ||
35 | ···· | ||
36 | ····public·java$util$PriorityQueue$proxy(final·int·initialCapacity)·{ | 36 | ····public·java$util$PriorityQueue$proxy(final·int·initialCapacity)·{ |
37 | ········super(initialCapacity); | 37 | ········super(initialCapacity); |
38 | ····} | 38 | ····} |
39 | ···· | 39 | ···· |
40 | ····public·java$util$PriorityQueue$proxy(final·Comparator·comparator)·{ | 40 | ····public·java$util$PriorityQueue$proxy(final·Comparator·comparator)·{ |
41 | ········super(comparator); | 41 | ········super(comparator); |
42 | ····} | 42 | ····} |
Offset 80, 14 lines modified | Offset 80, 19 lines modified | ||
80 | ········java$util$PriorityQueue$proxy.elementType·=·elementType; | 80 | ········java$util$PriorityQueue$proxy.elementType·=·elementType; |
81 | ········if·(b)·{ | 81 | ········if·(b)·{ |
82 | ············java$util$PriorityQueue$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$PriorityQueue$proxy,·true,·false,·b2); | 82 | ············java$util$PriorityQueue$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$PriorityQueue$proxy,·true,·false,·b2); |
83 | ········} | 83 | ········} |
84 | ········return·(ProxyCollection)java$util$PriorityQueue$proxy; | 84 | ········return·(ProxyCollection)java$util$PriorityQueue$proxy; |
85 | ····} | 85 | ····} |
86 | ···· | 86 | ···· |
87 | ····public·boolean·offer(final·Object·e)·{ | ||
88 | ········ProxyCollections.beforeOffer((ProxyCollection)this,·e); | ||
89 | ········return·ProxyCollections.afterOffer((ProxyCollection)this,·e,·super.offer(e)); | ||
90 | ····} | ||
91 | ···· | ||
87 | ····public·boolean·add(final·Object·e)·{ | 92 | ····public·boolean·add(final·Object·e)·{ |
88 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); | 93 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); |
89 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); | 94 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); |
90 | ····} | 95 | ····} |
91 | ···· | 96 | ···· |
92 | ····public·boolean·remove(final·Object·o)·{ | 97 | ····public·boolean·remove(final·Object·o)·{ |
93 | ········ProxyCollections.beforeRemove((ProxyCollection)this,·o); | 98 | ········ProxyCollections.beforeRemove((ProxyCollection)this,·o); |
Offset 112, 19 lines modified | Offset 117, 14 lines modified | ||
112 | ········return·ProxyCollections.retainAll((ProxyCollection)this,·collection); | 117 | ········return·ProxyCollections.retainAll((ProxyCollection)this,·collection); |
113 | ····} | 118 | ····} |
114 | ···· | 119 | ···· |
115 | ····public·boolean·removeAll(final·Collection·collection)·{ | 120 | ····public·boolean·removeAll(final·Collection·collection)·{ |
116 | ········return·ProxyCollections.removeAll((ProxyCollection)this,·collection); | 121 | ········return·ProxyCollections.removeAll((ProxyCollection)this,·collection); |
117 | ····} | 122 | ····} |
118 | ···· | 123 | ···· |
119 | ····public·boolean·offer(final·Object·e)·{ | ||
120 | ········ProxyCollections.beforeOffer((ProxyCollection)this,·e); | ||
121 | ········return·ProxyCollections.afterOffer((ProxyCollection)this,·e,·super.offer(e)); | ||
122 | ····} | ||
123 | ···· | ||
124 | ····public·Object·remove()·{ | 124 | ····public·Object·remove()·{ |
125 | ········ProxyCollections.beforeRemove((ProxyCollection)this); | 125 | ········ProxyCollections.beforeRemove((ProxyCollection)this); |
126 | ········return·ProxyCollections.afterRemove((ProxyCollection)this,·super.remove()); | 126 | ········return·ProxyCollections.afterRemove((ProxyCollection)this,·super.remove()); |
127 | ····} | 127 | ····} |
128 | ···· | 128 | ···· |
129 | ····public·boolean·addAll(final·Collection·collection)·{ | 129 | ····public·boolean·addAll(final·Collection·collection)·{ |
130 | ········return·ProxyCollections.addAll((ProxyCollection)this,·collection); | 130 | ········return·ProxyCollections.addAll((ProxyCollection)this,·collection); |
Offset 1, 40 lines modified | Offset 1, 40 lines modified | ||
1 | package·org.apache.openjpa.util; | 1 | package·org.apache.openjpa.util; |
2 | import·java.io.ObjectStreamException; | 2 | import·java.io.ObjectStreamException; |
3 | import·java.util.Set; | 3 | import·java.util.Set; |
4 | import·java.util.Collection; | 4 | import·java.util.Collection; |
5 | import·java.util.Comparator; | ||
6 | import·java.util.Map; | 5 | import·java.util.Map; |
6 | import·java.util.Comparator; | ||
7 | import·java.util.SortedMap; | 7 | import·java.util.SortedMap; |
8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; | 8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; |
9 | import·java.util.TreeMap; | 9 | import·java.util.TreeMap; |
10 | public·class·java$util$TreeMap$proxy·extends·TreeMap·implements·ProxyMap | 10 | public·class·java$util$TreeMap$proxy·extends·TreeMap·implements·ProxyMap |
11 | { | 11 | { |
12 | ····private·transient·OpenJPAStateManager·sm; | 12 | ····private·transient·OpenJPAStateManager·sm; |
13 | ····private·transient·int·field; | 13 | ····private·transient·int·field; |
14 | ····private·transient·MapChangeTracker·changeTracker; | 14 | ····private·transient·MapChangeTracker·changeTracker; |
15 | ····private·transient·Class·keyType; | 15 | ····private·transient·Class·keyType; |
16 | ····private·transient·Class·valueType; | 16 | ····private·transient·Class·valueType; |
17 | ···· | 17 | ···· |
18 | ····public·java$util$TreeMap$proxy( | 18 | ····public·java$util$TreeMap$proxy()·{ |
19 | ········super(m); | ||
20 | ····} | 19 | ····} |
21 | ···· | 20 | ···· |
22 | ····public·java$util$TreeMap$proxy(final·Map·m)·{ | 21 | ····public·java$util$TreeMap$proxy(final·SortedMap·m)·{ |
23 | ········super(m); | 22 | ········super(m); |
24 | ····} | 23 | ····} |
25 | ···· | 24 | ···· |
26 | ····public·java$util$TreeMap$proxy(final·Comparator·comparator)·{ | 25 | ····public·java$util$TreeMap$proxy(final·Comparator·comparator)·{ |
27 | ········super(comparator); | 26 | ········super(comparator); |
28 | ····} | 27 | ····} |
29 | ···· | 28 | ···· |
30 | ····public·java$util$TreeMap$proxy()·{ | 29 | ····public·java$util$TreeMap$proxy(final·Map·m)·{ |
30 | ········super(m); | ||
31 | ····} | 31 | ····} |
32 | ···· | 32 | ···· |
33 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 33 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
34 | ········this.sm·=·sm; | 34 | ········this.sm·=·sm; |
35 | ········this.field·=·field; | 35 | ········this.field·=·field; |
36 | ····} | 36 | ····} |
37 | ···· | 37 | ···· |
Offset 1, 36 lines modified | Offset 1, 36 lines modified | ||
1 | package·org.apache.openjpa.util; | 1 | package·org.apache.openjpa.util; |
2 | import·java.io.ObjectStreamException; | 2 | import·java.io.ObjectStreamException; |
3 | import·java.util.function.Predicate; | 3 | import·java.util.function.Predicate; |
4 | import·java.util.Iterator; | 4 | import·java.util.Iterator; |
5 | import·java.util.Comparator; | ||
6 | import·java.util.Collection; | ||
7 | import·java.util.SortedSet; | 5 | import·java.util.SortedSet; |
6 | import·java.util.Collection; | ||
7 | import·java.util.Comparator; | ||
8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; | 8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; |
9 | import·java.util.TreeSet; | 9 | import·java.util.TreeSet; |
10 | public·class·java$util$TreeSet$proxy·extends·TreeSet·implements·ProxyCollection | 10 | public·class·java$util$TreeSet$proxy·extends·TreeSet·implements·ProxyCollection |
11 | { | 11 | { |
12 | ····private·transient·OpenJPAStateManager·sm; | 12 | ····private·transient·OpenJPAStateManager·sm; |
13 | ····private·transient·int·field; | 13 | ····private·transient·int·field; |
14 | ····private·transient·CollectionChangeTracker·changeTracker; | 14 | ····private·transient·CollectionChangeTracker·changeTracker; |
15 | ····private·transient·Class·elementType; | 15 | ····private·transient·Class·elementType; |
16 | ···· | 16 | ···· |
17 | ····public·java$util$TreeSet$proxy(final· | 17 | ····public·java$util$TreeSet$proxy(final·Comparator·comparator)·{ |
18 | ········super( | 18 | ········super(comparator); |
19 | ····} | 19 | ····} |
20 | ···· | 20 | ···· |
21 | ····public·java$util$TreeSet$proxy(final·Collection·c)·{ | 21 | ····public·java$util$TreeSet$proxy(final·Collection·c)·{ |
22 | ········super(c); | 22 | ········super(c); |
23 | ····} | 23 | ····} |
24 | ···· | 24 | ···· |
25 | ····public·java$util$TreeSet$proxy(final· | 25 | ····public·java$util$TreeSet$proxy(final·SortedSet·s)·{ |
26 | ········super( | 26 | ········super(s); |
27 | ····} | 27 | ····} |
28 | ···· | 28 | ···· |
29 | ····public·java$util$TreeSet$proxy()·{ | 29 | ····public·java$util$TreeSet$proxy()·{ |
30 | ····} | 30 | ····} |
31 | ···· | 31 | ···· |
32 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 32 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
33 | ········this.sm·=·sm; | 33 | ········this.sm·=·sm; |
Offset 1, 39 lines modified | Offset 1, 39 lines modified | ||
1 | package·org.apache.openjpa.util; | 1 | package·org.apache.openjpa.util; |
2 | import·java.io.ObjectStreamException; | 2 | import·java.io.ObjectStreamException; |
3 | import·java.util.function.Predicate; | 3 | import·java.util.function.Predicate; |
4 | import·java.util.ListIterator; | ||
5 | import·java.util.Iterator; | 4 | import·java.util.Iterator; |
5 | import·java.util.ListIterator; | ||
6 | import·java.util.Comparator; | 6 | import·java.util.Comparator; |
7 | import·java.util.Collection; | 7 | import·java.util.Collection; |
8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; | 8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; |
9 | import·java.util.Vector; | 9 | import·java.util.Vector; |
10 | public·class·java$util$Vector$proxy·extends·Vector·implements·ProxyCollection | 10 | public·class·java$util$Vector$proxy·extends·Vector·implements·ProxyCollection |
11 | { | 11 | { |
12 | ····private·transient·OpenJPAStateManager·sm; | 12 | ····private·transient·OpenJPAStateManager·sm; |
13 | ····private·transient·int·field; | 13 | ····private·transient·int·field; |
14 | ····private·transient·CollectionChangeTracker·changeTracker; | 14 | ····private·transient·CollectionChangeTracker·changeTracker; |
15 | ····private·transient·Class·elementType; | 15 | ····private·transient·Class·elementType; |
16 | ···· | 16 | ···· |
17 | ····public·java$util$Vector$proxy(final·Collection·c)·{ | ||
18 | ········ | 17 | ····public·java$util$Vector$proxy(final·int·initialCapacity,·final·int·capacityIncrement)·{ |
18 | ········super(initialCapacity,·capacityIncrement); | ||
19 | ····} | 19 | ····} |
20 | ···· | 20 | ···· |
21 | ····public·java$util$Vector$proxy()·{ | 21 | ····public·java$util$Vector$proxy()·{ |
22 | ····} | 22 | ····} |
23 | ···· | 23 | ···· |
24 | ····public·java$util$Vector$proxy(final·int·initialCapacity)·{ | 24 | ····public·java$util$Vector$proxy(final·int·initialCapacity)·{ |
25 | ········super(initialCapacity); | 25 | ········super(initialCapacity); |
26 | ····} | 26 | ····} |
27 | ···· | 27 | ···· |
28 | ····public·java$util$Vector$proxy(final·int·initialCapacity,·final·int·capacityIncrement)·{ | ||
29 | ···· | 28 | ····public·java$util$Vector$proxy(final·Collection·c)·{ |
29 | ········super(c); | ||
30 | ····} | 30 | ····} |
31 | ···· | 31 | ···· |
32 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 32 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
33 | ········this.sm·=·sm; | 33 | ········this.sm·=·sm; |
34 | ········this.field·=·field; | 34 | ········this.field·=·field; |
35 | ····} | 35 | ····} |
36 | ···· | 36 | ···· |
Offset 68, 14 lines modified | Offset 68, 47 lines modified | ||
68 | ········java$util$Vector$proxy.elementType·=·elementType; | 68 | ········java$util$Vector$proxy.elementType·=·elementType; |
69 | ········if·(b)·{ | 69 | ········if·(b)·{ |
70 | ············java$util$Vector$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$Vector$proxy,·true,·true,·b2); | 70 | ············java$util$Vector$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$Vector$proxy,·true,·true,·b2); |
71 | ········} | 71 | ········} |
72 | ········return·(ProxyCollection)java$util$Vector$proxy; | 72 | ········return·(ProxyCollection)java$util$Vector$proxy; |
73 | ····} | 73 | ····} |
74 | ···· | 74 | ···· |
75 | ····public·ListIterator·listIterator(final·int·index)·{ | ||
76 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·index,·(ListIterator)super.listIterator(index)); | ||
77 | ····} | ||
78 | ···· | ||
79 | ····public·ListIterator·listIterator()·{ | ||
80 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·(ListIterator)super.listIterator()); | ||
81 | ····} | ||
82 | ···· | ||
83 | ····public·void·setElementAt(final·Object·obj,·final·int·index)·{ | ||
84 | ········ProxyCollections.beforeSetElementAt((ProxyCollection)this,·obj,·index); | ||
85 | ········super.setElementAt(obj,·index); | ||
86 | ····} | ||
87 | ···· | ||
88 | ····public·void·removeElementAt(final·int·index)·{ | ||
89 | ········ProxyCollections.beforeRemoveElementAt((ProxyCollection)this,·index); | ||
90 | ········super.removeElementAt(index); | ||
91 | ····} | ||
92 | ···· | ||
93 | ····public·void·insertElementAt(final·Object·obj,·final·int·index)·{ | ||
94 | ········ProxyCollections.beforeInsertElementAt((ProxyCollection)this,·obj,·index); | ||
95 | ········super.insertElementAt(obj,·index); | ||
96 | ····} | ||
97 | ···· | ||
98 | ····public·boolean·removeElement(final·Object·obj)·{ | ||
99 | ········ProxyCollections.beforeRemoveElement((ProxyCollection)this,·obj); | ||
100 | ········return·ProxyCollections.afterRemoveElement((ProxyCollection)this,·obj,·super.removeElement(obj)); | ||
101 | ····} | ||
102 | ···· | ||
103 | ····public·void·removeAllElements()·{ | ||
104 | ········ProxyCollections.beforeRemoveAllElements((ProxyCollection)this); | ||
105 | ········super.removeAllElements(); | ||
106 | ····} | ||
107 | ···· | ||
75 | ····public·boolean·add(final·Object·e)·{ | 108 | ····public·boolean·add(final·Object·e)·{ |
76 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); | 109 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); |
77 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); | 110 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); |
78 | ····} | 111 | ····} |
79 | ···· | 112 | ···· |
80 | ····public·void·add(final·int·index,·final·Object·element)·{ | 113 | ····public·void·add(final·int·index,·final·Object·element)·{ |
81 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·index,·element); | 114 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·index,·element); |
Offset 124, 54 lines modified | Offset 157, 21 lines modified | ||
124 | ········return·ProxyCollections.retainAll((ProxyCollection)this,·collection); | 157 | ········return·ProxyCollections.retainAll((ProxyCollection)this,·collection); |
125 | ····} | 158 | ····} |
126 | ···· | 159 | ···· |
127 | ····public·boolean·removeAll(final·Collection·collection)·{ | 160 | ····public·boolean·removeAll(final·Collection·collection)·{ |
128 | ········return·ProxyCollections.removeAll((ProxyCollection)this,·collection); | 161 | ········return·ProxyCollections.removeAll((ProxyCollection)this,·collection); |
129 | ····} | 162 | ····} |
130 | ···· | 163 | ···· |
164 | ····public·void·setSize(final·int·size)·{ | ||
165 | ········Proxies.dirty((Proxy)this,·true); | ||
166 | ········super.setSize(size); | ||
131 | ····public·ListIterator·listIterator()·{ | ||
132 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·(ListIterator)super.listIterator()); | ||
133 | ····} | ||
134 | ···· | ||
135 | ····public·ListIterator·listIterator(final·int·index)·{ | ||
136 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·index,·(ListIterator)super.listIterator(index)); | ||
137 | ····} | ||
138 | ···· | ||
139 | ····public·void·setElementAt(final·Object·obj,·final·int·index)·{ | ||
140 | ········ProxyCollections.beforeSetElementAt((ProxyCollection)this,·obj,·index); | ||
141 | ········super.setElementAt(obj,·index); | ||
142 | ····} | ||
143 | ···· | ||
144 | ····public·void·removeElementAt(final·int·index)·{ | ||
145 | ········ProxyCollections.beforeRemoveElementAt((ProxyCollection)this,·index); | ||
146 | ········super.removeElementAt(index); | ||
147 | ····} | ||
148 | ···· | ||
149 | ····public·void·insertElementAt(final·Object·obj,·final·int·index)·{ | ||
150 | ········ProxyCollections.beforeInsertElementAt((ProxyCollection)this,·obj,·index); | ||
151 | ········super.insertElementAt(obj,·index); | ||
152 | ····} | ||
153 | ···· | ||
154 | ····public·boolean·removeElement(final·Object·obj)·{ | ||
155 | ········ProxyCollections.beforeRemoveElement((ProxyCollection)this,·obj); | ||
156 | ········return·ProxyCollections.afterRemoveElement((ProxyCollection)this,·obj,·super.removeElement(obj)); | ||
Max diff block lines reached; 421/5620 bytes (7.49%) of diff not shown. |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | Zip·file·size:·43234 | 1 | Zip·file·size:·4323428·bytes,·number·of·entries:·2076 |
2 | -rw----·····2.0·fat········0·bx·stor·18-Oct-16·23:15·META-INF/ | 2 | -rw----·····2.0·fat········0·bx·stor·18-Oct-16·23:15·META-INF/ |
3 | -rw----·····2.0·fat····16735·bl·defN·18-Oct-16·23:15·META-INF/MANIFEST.MF | 3 | -rw----·····2.0·fat····16735·bl·defN·18-Oct-16·23:15·META-INF/MANIFEST.MF |
4 | -rw----·····2.0·fat········0·b-·stor·18-Oct-16·23:15·META-INF/maven/ | 4 | -rw----·····2.0·fat········0·b-·stor·18-Oct-16·23:15·META-INF/maven/ |
5 | -rw----·····2.0·fat········0·b-·stor·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/ | 5 | -rw----·····2.0·fat········0·b-·stor·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/ |
6 | -rw----·····2.0·fat········0·b-·stor·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/openjpa-jdbc/ | 6 | -rw----·····2.0·fat········0·b-·stor·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/openjpa-jdbc/ |
7 | -rw----·····2.0·fat·······96·bl·defN·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/openjpa-jdbc/pom.properties | 7 | -rw----·····2.0·fat·······96·bl·defN·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/openjpa-jdbc/pom.properties |
8 | -rw----·····2.0·fat·····2660·bl·defN·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/openjpa-jdbc/pom.xml | 8 | -rw----·····2.0·fat·····2660·bl·defN·18-Oct-16·23:15·META-INF/maven/org.apache.openjpa/openjpa-jdbc/pom.xml |
Offset 2071, 8 lines modified | Offset 2071, 8 lines modified | ||
2071 | -rw----·····2.0·fat·····9399·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/ObjectData.class | 2071 | -rw----·····2.0·fat·····9399·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/ObjectData.class |
2072 | -rw----·····2.0·fat·····1417·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/XMLConfiguration.class | 2072 | -rw----·····2.0·fat·····1417·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/XMLConfiguration.class |
2073 | -rw----·····2.0·fat·····8581·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/XMLFileHandler$ObjectDataHandler.class | 2073 | -rw----·····2.0·fat·····8581·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/XMLFileHandler$ObjectDataHandler.class |
2074 | -rw----·····2.0·fat·····1863·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/XMLFileHandler$XMLEncoder.class | 2074 | -rw----·····2.0·fat·····1863·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/XMLFileHandler$XMLEncoder.class |
2075 | -rw----·····2.0·fat·····8014·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/XMLFileHandler.class | 2075 | -rw----·····2.0·fat·····8014·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/XMLFileHandler.class |
2076 | -rw----·····2.0·fat·····3991·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/XMLStore.class | 2076 | -rw----·····2.0·fat·····3991·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/XMLStore.class |
2077 | -rw----·····2.0·fat·····8291·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/XMLStoreManager.class | 2077 | -rw----·····2.0·fat·····8291·bl·defN·18-Oct-16·23:15·org/apache/openjpa/xmlstore/XMLStoreManager.class |
2078 | 2076·files,·10536612·bytes·uncompressed,·39039 | 2078 | 2076·files,·10536612·bytes·uncompressed,·3903954·bytes·compressed:··63.0% |
Offset 6, 22 lines modified | Offset 6, 22 lines modified | ||
6 | import·java.sql.Date; | 6 | import·java.sql.Date; |
7 | public·class·java$sql$Date$proxy·extends·Date·implements·ProxyDate | 7 | public·class·java$sql$Date$proxy·extends·Date·implements·ProxyDate |
8 | { | 8 | { |
9 | ····private·transient·OpenJPAStateManager·sm; | 9 | ····private·transient·OpenJPAStateManager·sm; |
10 | ····private·transient·int·field; | 10 | ····private·transient·int·field; |
11 | ···· | 11 | ···· |
12 | ····public·java$sql$Date$proxy(final·int·year,·final·int·month,·final·int·day)·{ | ||
13 | ········super(year,·month,·day); | ||
14 | ····} | ||
15 | ···· | ||
16 | ····public·java$sql$Date$proxy(final·long·date)·{ | 12 | ····public·java$sql$Date$proxy(final·long·date)·{ |
17 | ········super(date); | 13 | ········super(date); |
18 | ····} | 14 | ····} |
19 | ···· | 15 | ···· |
16 | ····public·java$sql$Date$proxy(final·int·year,·final·int·month,·final·int·day)·{ | ||
17 | ········super(year,·month,·day); | ||
18 | ····} | ||
19 | ···· | ||
20 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 20 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
21 | ········this.sm·=·sm; | 21 | ········this.sm·=·sm; |
22 | ········this.field·=·field; | 22 | ········this.field·=·field; |
23 | ····} | 23 | ····} |
24 | ···· | 24 | ···· |
25 | ····public·OpenJPAStateManager·getOwner()·{ | 25 | ····public·OpenJPAStateManager·getOwner()·{ |
26 | ········return·this.sm; | 26 | ········return·this.sm; |
Offset 7, 22 lines modified | Offset 7, 22 lines modified | ||
7 | import·java.sql.Time; | 7 | import·java.sql.Time; |
8 | public·class·java$sql$Time$proxy·extends·Time·implements·ProxyDate | 8 | public·class·java$sql$Time$proxy·extends·Time·implements·ProxyDate |
9 | { | 9 | { |
10 | ····private·transient·OpenJPAStateManager·sm; | 10 | ····private·transient·OpenJPAStateManager·sm; |
11 | ····private·transient·int·field; | 11 | ····private·transient·int·field; |
12 | ···· | 12 | ···· |
13 | ····public·java$sql$Time$proxy(final·int·hour,·final·int·minute,·final·int·second)·{ | ||
14 | ········super(hour,·minute,·second); | ||
15 | ····} | ||
16 | ···· | ||
17 | ····public·java$sql$Time$proxy(final·long·time)·{ | 13 | ····public·java$sql$Time$proxy(final·long·time)·{ |
18 | ········super(time); | 14 | ········super(time); |
19 | ····} | 15 | ····} |
20 | ···· | 16 | ···· |
17 | ····public·java$sql$Time$proxy(final·int·hour,·final·int·minute,·final·int·second)·{ | ||
18 | ········super(hour,·minute,·second); | ||
19 | ····} | ||
20 | ···· | ||
21 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 21 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
22 | ········this.sm·=·sm; | 22 | ········this.sm·=·sm; |
23 | ········this.field·=·field; | 23 | ········this.field·=·field; |
24 | ····} | 24 | ····} |
25 | ···· | 25 | ···· |
26 | ····public·OpenJPAStateManager·getOwner()·{ | 26 | ····public·OpenJPAStateManager·getOwner()·{ |
27 | ········return·this.sm; | 27 | ········return·this.sm; |
Offset 1, 37 lines modified | Offset 1, 37 lines modified | ||
1 | package·org.apache.openjpa.util; | 1 | package·org.apache.openjpa.util; |
2 | import·java.io.ObjectStreamException; | 2 | import·java.io.ObjectStreamException; |
3 | import·java.util.function.Predicate; | 3 | import·java.util.function.Predicate; |
4 | import·java.util.ListIterator; | ||
5 | import·java.util.Iterator; | 4 | import·java.util.Iterator; |
5 | import·java.util.ListIterator; | ||
6 | import·java.util.Comparator; | 6 | import·java.util.Comparator; |
7 | import·java.util.Collection; | 7 | import·java.util.Collection; |
8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; | 8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; |
9 | import·java.util.ArrayList; | 9 | import·java.util.ArrayList; |
10 | public·class·java$util$ArrayList$proxy·extends·ArrayList·implements·ProxyCollection | 10 | public·class·java$util$ArrayList$proxy·extends·ArrayList·implements·ProxyCollection |
11 | { | 11 | { |
12 | ····private·transient·OpenJPAStateManager·sm; | 12 | ····private·transient·OpenJPAStateManager·sm; |
13 | ····private·transient·int·field; | 13 | ····private·transient·int·field; |
14 | ····private·transient·CollectionChangeTracker·changeTracker; | 14 | ····private·transient·CollectionChangeTracker·changeTracker; |
15 | ····private·transient·Class·elementType; | 15 | ····private·transient·Class·elementType; |
16 | ···· | 16 | ···· |
17 | ····public·java$util$ArrayList$proxy(final·int·initialCapacity)·{ | ||
18 | ········super(initialCapacity); | ||
19 | ····} | ||
20 | ···· | ||
17 | ····public·java$util$ArrayList$proxy(final·Collection·c)·{ | 21 | ····public·java$util$ArrayList$proxy(final·Collection·c)·{ |
18 | ········super(c); | 22 | ········super(c); |
19 | ····} | 23 | ····} |
20 | ···· | 24 | ···· |
21 | ····public·java$util$ArrayList$proxy()·{ | 25 | ····public·java$util$ArrayList$proxy()·{ |
22 | ····} | 26 | ····} |
23 | ···· | 27 | ···· |
24 | ····public·java$util$ArrayList$proxy(final·int·initialCapacity)·{ | ||
25 | ········super(initialCapacity); | ||
26 | ····} | ||
27 | ···· | ||
28 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 28 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
29 | ········this.sm·=·sm; | 29 | ········this.sm·=·sm; |
30 | ········this.field·=·field; | 30 | ········this.field·=·field; |
31 | ····} | 31 | ····} |
32 | ···· | 32 | ···· |
33 | ····public·OpenJPAStateManager·getOwner()·{ | 33 | ····public·OpenJPAStateManager·getOwner()·{ |
34 | ········return·this.sm; | 34 | ········return·this.sm; |
Offset 64, 72 lines modified | Offset 64, 72 lines modified | ||
64 | ········java$util$ArrayList$proxy.elementType·=·elementType; | 64 | ········java$util$ArrayList$proxy.elementType·=·elementType; |
65 | ········if·(b)·{ | 65 | ········if·(b)·{ |
66 | ············java$util$ArrayList$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$ArrayList$proxy,·true,·true,·b2); | 66 | ············java$util$ArrayList$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$ArrayList$proxy,·true,·true,·b2); |
67 | ········} | 67 | ········} |
68 | ········return·(ProxyCollection)java$util$ArrayList$proxy; | 68 | ········return·(ProxyCollection)java$util$ArrayList$proxy; |
69 | ····} | 69 | ····} |
70 | ···· | 70 | ···· |
71 | ····public·boolean·add(final·Object·e)·{ | ||
72 | ···· | 71 | ····public·ListIterator·listIterator(final·int·index)·{ |
72 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·index,·(ListIterator)super.listIterator(index)); | ||
73 | ····} | ||
74 | ···· | ||
75 | ····public·ListIterator·listIterator()·{ | ||
73 | ········return·ProxyCollections.after | 76 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·(ListIterator)super.listIterator()); |
74 | ····} | 77 | ····} |
75 | ···· | 78 | ···· |
76 | ····public·void·add(final·int·index,·final·Object·element)·{ | 79 | ····public·void·add(final·int·index,·final·Object·element)·{ |
77 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·index,·element); | 80 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·index,·element); |
78 | ········super.add(index,·element); | 81 | ········super.add(index,·element); |
79 | ····} | 82 | ····} |
80 | ···· | 83 | ···· |
81 | ····public·boolean· | 84 | ····public·boolean·add(final·Object·e)·{ |
82 | ········ProxyCollections.before | 85 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); |
83 | ········return·ProxyCollections.after | 86 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); |
84 | ····} | 87 | ····} |
85 | ···· | 88 | ···· |
86 | ····public·Object·remove(final·int·index)·{ | 89 | ····public·Object·remove(final·int·index)·{ |
87 | ········ProxyCollections.beforeRemove((ProxyCollection)this,·index); | 90 | ········ProxyCollections.beforeRemove((ProxyCollection)this,·index); |
88 | ········return·ProxyCollections.afterRemove((ProxyCollection)this,·index,·super.remove(index)); | 91 | ········return·ProxyCollections.afterRemove((ProxyCollection)this,·index,·super.remove(index)); |
89 | ····} | 92 | ····} |
90 | ···· | 93 | ···· |
94 | ····public·boolean·remove(final·Object·o)·{ | ||
95 | ········ProxyCollections.beforeRemove((ProxyCollection)this,·o); | ||
96 | ········return·ProxyCollections.afterRemove((ProxyCollection)this,·o,·super.remove(o)); | ||
97 | ····} | ||
98 | ···· | ||
91 | ····public·void·clear()·{ | 99 | ····public·void·clear()·{ |
92 | ········ProxyCollections.beforeClear((ProxyCollection)this); | 100 | ········ProxyCollections.beforeClear((ProxyCollection)this); |
93 | ········super.clear(); | 101 | ········super.clear(); |
94 | ····} | 102 | ····} |
95 | ···· | 103 | ···· |
96 | ····public·Iterator·iterator()·{ | 104 | ····public·Iterator·iterator()·{ |
97 | ········return·ProxyCollections.afterIterator((ProxyCollection)this,·(Iterator)super.iterator()); | 105 | ········return·ProxyCollections.afterIterator((ProxyCollection)this,·(Iterator)super.iterator()); |
98 | ····} | 106 | ····} |
99 | ···· | 107 | ···· |
100 | ····public·boolean·addAll(final·Collection·collection)·{ | ||
101 | ········return·ProxyCollections.addAll((ProxyCollection)this,·collection); | ||
102 | ····} | ||
103 | ···· | ||
104 | ····public·boolean·addAll(final·int·n,·final·Collection·collection)·{ | 108 | ····public·boolean·addAll(final·int·n,·final·Collection·collection)·{ |
105 | ········return·ProxyCollections.addAll((ProxyCollection)this,·n,·collection); | 109 | ········return·ProxyCollections.addAll((ProxyCollection)this,·n,·collection); |
106 | ····} | 110 | ····} |
107 | ···· | 111 | ···· |
112 | ····public·boolean·addAll(final·Collection·collection)·{ | ||
113 | ········return·ProxyCollections.addAll((ProxyCollection)this,·collection); | ||
114 | ····} | ||
115 | ···· | ||
108 | ····public·Object·set(final·int·index,·final·Object·element)·{ | 116 | ····public·Object·set(final·int·index,·final·Object·element)·{ |
109 | ········ProxyCollections.beforeSet((ProxyCollection)this,·index,·element); | 117 | ········ProxyCollections.beforeSet((ProxyCollection)this,·index,·element); |
110 | ········return·ProxyCollections.afterSet((ProxyCollection)this,·index,·element,·super.set(index,·element)); | 118 | ········return·ProxyCollections.afterSet((ProxyCollection)this,·index,·element,·super.set(index,·element)); |
111 | ····} | 119 | ····} |
112 | ···· | 120 | ···· |
113 | ····public·boolean·retainAll(final·Collection·collection)·{ | 121 | ····public·boolean·retainAll(final·Collection·collection)·{ |
114 | ········return·ProxyCollections.retainAll((ProxyCollection)this,·collection); | 122 | ········return·ProxyCollections.retainAll((ProxyCollection)this,·collection); |
115 | ····} | 123 | ····} |
116 | ···· | 124 | ···· |
117 | ····public·boolean·removeAll(final·Collection·collection)·{ | 125 | ····public·boolean·removeAll(final·Collection·collection)·{ |
118 | ········return·ProxyCollections.removeAll((ProxyCollection)this,·collection); | 126 | ········return·ProxyCollections.removeAll((ProxyCollection)this,·collection); |
119 | ····} | 127 | ····} |
120 | ···· | 128 | ···· |
121 | ····public·ListIterator·listIterator(final·int·index)·{ | ||
122 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·index,·(ListIterator)super.listIterator(index)); | ||
123 | ····} | ||
124 | ···· | ||
125 | ····public·ListIterator·listIterator()·{ | ||
126 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·(ListIterator)super.listIterator()); | ||
127 | ····} | ||
128 | ···· | ||
129 | ····public·boolean·removeIf(final·Predicate·filter)·{ | 129 | ····public·boolean·removeIf(final·Predicate·filter)·{ |
130 | ········Proxies.dirty((Proxy)this,·true); | 130 | ········Proxies.dirty((Proxy)this,·true); |
131 | ········return·super.removeIf(filter); | 131 | ········return·super.removeIf(filter); |
132 | ····} | 132 | ····} |
133 | ···· | 133 | ···· |
134 | ····protected·Object·writeReplace()·throws·ObjectStreamException·{ | 134 | ····protected·Object·writeReplace()·throws·ObjectStreamException·{ |
Max diff block lines reached; 0/5090 bytes (0.00%) of diff not shown. |
Offset 6, 27 lines modified | Offset 6, 27 lines modified | ||
6 | import·java.util.Date; | 6 | import·java.util.Date; |
7 | public·class·java$util$Date$proxy·extends·Date·implements·ProxyDate | 7 | public·class·java$util$Date$proxy·extends·Date·implements·ProxyDate |
8 | { | 8 | { |
9 | ····private·transient·OpenJPAStateManager·sm; | 9 | ····private·transient·OpenJPAStateManager·sm; |
10 | ····private·transient·int·field; | 10 | ····private·transient·int·field; |
11 | ···· | 11 | ···· |
12 | ····public·java$util$Date$proxy(final·String·s)·{ | ||
13 | ········super(s); | ||
14 | ····} | ||
15 | ···· | ||
16 | ····public·java$util$Date$proxy(final·int·year,·final·int·month,·final·int·date,·final·int·hrs,·final·int·min,·final·int·sec)·{ | 12 | ····public·java$util$Date$proxy(final·int·year,·final·int·month,·final·int·date,·final·int·hrs,·final·int·min,·final·int·sec)·{ |
17 | ········super(year,·month,·date,·hrs,·min,·sec); | 13 | ········super(year,·month,·date,·hrs,·min,·sec); |
18 | ····} | 14 | ····} |
19 | ···· | 15 | ···· |
16 | ····public·java$util$Date$proxy()·{ | ||
17 | ····} | ||
18 | ···· | ||
20 | ····public·java$util$Date$proxy(final·int·year,·final·int·month,·final·int·date,·final·int·hrs,·final·int·min)·{ | 19 | ····public·java$util$Date$proxy(final·int·year,·final·int·month,·final·int·date,·final·int·hrs,·final·int·min)·{ |
21 | ········super(year,·month,·date,·hrs,·min); | 20 | ········super(year,·month,·date,·hrs,·min); |
22 | ····} | 21 | ····} |
23 | ···· | 22 | ···· |
24 | ····public·java$util$Date$proxy()·{ | 23 | ····public·java$util$Date$proxy(final·String·s)·{ |
24 | ········super(s); | ||
25 | ····} | 25 | ····} |
26 | ···· | 26 | ···· |
27 | ····public·java$util$Date$proxy(final·long·date)·{ | 27 | ····public·java$util$Date$proxy(final·long·date)·{ |
28 | ········super(date); | 28 | ········super(date); |
29 | ····} | 29 | ····} |
30 | ···· | 30 | ···· |
31 | ····public·java$util$Date$proxy(final·int·year,·final·int·month,·final·int·date)·{ | 31 | ····public·java$util$Date$proxy(final·int·year,·final·int·month,·final·int·date)·{ |
Offset 25, 26 lines modified | Offset 25, 26 lines modified | ||
25 | { | 25 | { |
26 | ····private·transient·OpenJPAStateManager·sm; | 26 | ····private·transient·OpenJPAStateManager·sm; |
27 | ····private·transient·int·field; | 27 | ····private·transient·int·field; |
28 | ····private·transient·MapChangeTracker·changeTracker; | 28 | ····private·transient·MapChangeTracker·changeTracker; |
29 | ····private·transient·Class·keyType; | 29 | ····private·transient·Class·keyType; |
30 | ····private·transient·Class·valueType; | 30 | ····private·transient·Class·valueType; |
31 | ···· | 31 | ···· |
32 | ····public·java$util$EnumMap$proxy(final·Class·keyType)·{ | ||
33 | ········super(keyType); | ||
34 | ····} | ||
35 | ···· | ||
36 | ····public·java$util$EnumMap$proxy(final·Map·m)·{ | 32 | ····public·java$util$EnumMap$proxy(final·Map·m)·{ |
37 | ········super(m); | 33 | ········super(m); |
38 | ····} | 34 | ····} |
39 | ···· | 35 | ···· |
40 | ····public·java$util$EnumMap$proxy(final·EnumMap·m)·{ | 36 | ····public·java$util$EnumMap$proxy(final·EnumMap·m)·{ |
41 | ········super(m); | 37 | ········super(m); |
42 | ····} | 38 | ····} |
43 | ···· | 39 | ···· |
40 | ····public·java$util$EnumMap$proxy(final·Class·keyType)·{ | ||
41 | ········super(keyType); | ||
42 | ····} | ||
43 | ···· | ||
44 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 44 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
45 | ········this.sm·=·sm; | 45 | ········this.sm·=·sm; |
46 | ········this.field·=·field; | 46 | ········this.field·=·field; |
47 | ····} | 47 | ····} |
48 | ···· | 48 | ···· |
49 | ····public·OpenJPAStateManager·getOwner()·{ | 49 | ····public·OpenJPAStateManager·getOwner()·{ |
50 | ········return·this.sm; | 50 | ········return·this.sm; |
Offset 10, 41 lines modified | Offset 10, 41 lines modified | ||
10 | import·java.util.GregorianCalendar; | 10 | import·java.util.GregorianCalendar; |
11 | public·class·java$util$GregorianCalendar$proxy·extends·GregorianCalendar·implements·ProxyCalendar | 11 | public·class·java$util$GregorianCalendar$proxy·extends·GregorianCalendar·implements·ProxyCalendar |
12 | { | 12 | { |
13 | ····private·transient·OpenJPAStateManager·sm; | 13 | ····private·transient·OpenJPAStateManager·sm; |
14 | ····private·transient·int·field; | 14 | ····private·transient·int·field; |
15 | ···· | 15 | ···· |
16 | ····public·java$util$GregorianCalendar$proxy(final·int·year,·final·int·month,·final·int·dayOfMonth)·{ | ||
17 | ········super(year,·month,·dayOfMonth); | ||
18 | ····} | ||
19 | ···· | ||
20 | ····public·java$util$GregorianCalendar$proxy(final·int·year,·final·int·month,·final·int·dayOfMonth,·final·int·hourOfDay,·final·int·minute)·{ | 16 | ····public·java$util$GregorianCalendar$proxy(final·int·year,·final·int·month,·final·int·dayOfMonth,·final·int·hourOfDay,·final·int·minute)·{ |
21 | ········super(year,·month,·dayOfMonth,·hourOfDay,·minute); | 17 | ········super(year,·month,·dayOfMonth,·hourOfDay,·minute); |
22 | ····} | 18 | ····} |
23 | ···· | 19 | ···· |
24 | ····public·java$util$GregorianCalendar$proxy(final·int·year,·final·int·month,·final·int·dayOfMonth,·final·int·hourOfDay,·final·int·minute,·final·int·second)·{ | 20 | ····public·java$util$GregorianCalendar$proxy(final·int·year,·final·int·month,·final·int·dayOfMonth,·final·int·hourOfDay,·final·int·minute,·final·int·second)·{ |
25 | ········super(year,·month,·dayOfMonth,·hourOfDay,·minute,·second); | 21 | ········super(year,·month,·dayOfMonth,·hourOfDay,·minute,·second); |
26 | ····} | 22 | ····} |
27 | ···· | 23 | ···· |
28 | ····public·java$util$GregorianCalendar$proxy()·{ | ||
29 | ····} | ||
30 | ···· | ||
31 | ····public·java$util$GregorianCalendar$proxy(final·TimeZone·zone)·{ | 24 | ····public·java$util$GregorianCalendar$proxy(final·TimeZone·zone)·{ |
32 | ········super(zone); | 25 | ········super(zone); |
33 | ····} | 26 | ····} |
34 | ···· | 27 | ···· |
35 | ····public·java$util$GregorianCalendar$proxy(final·Locale·aLocale)·{ | 28 | ····public·java$util$GregorianCalendar$proxy(final·Locale·aLocale)·{ |
36 | ········super(aLocale); | 29 | ········super(aLocale); |
37 | ····} | 30 | ····} |
38 | ···· | 31 | ···· |
39 | ····public·java$util$GregorianCalendar$proxy(final·TimeZone·zone,·final·Locale·aLocale)·{ | 32 | ····public·java$util$GregorianCalendar$proxy(final·TimeZone·zone,·final·Locale·aLocale)·{ |
40 | ········super(zone,·aLocale); | 33 | ········super(zone,·aLocale); |
41 | ····} | 34 | ····} |
42 | ···· | 35 | ···· |
36 | ····public·java$util$GregorianCalendar$proxy(final·int·year,·final·int·month,·final·int·dayOfMonth)·{ | ||
37 | ········super(year,·month,·dayOfMonth); | ||
38 | ····} | ||
39 | ···· | ||
40 | ····public·java$util$GregorianCalendar$proxy()·{ | ||
41 | ····} | ||
42 | ···· | ||
43 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 43 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
44 | ········this.sm·=·sm; | 44 | ········this.sm·=·sm; |
45 | ········this.field·=·field; | 45 | ········this.field·=·field; |
46 | ····} | 46 | ····} |
47 | ···· | 47 | ···· |
48 | ····public·OpenJPAStateManager·getOwner()·{ | 48 | ····public·OpenJPAStateManager·getOwner()·{ |
49 | ········return·this.sm; | 49 | ········return·this.sm; |
Offset 79, 24 lines modified | Offset 79, 14 lines modified | ||
79 | ····} | 79 | ····} |
80 | ···· | 80 | ···· |
81 | ····protected·void·computeFields()·{ | 81 | ····protected·void·computeFields()·{ |
82 | ········Proxies.dirty((Proxy)this,·true); | 82 | ········Proxies.dirty((Proxy)this,·true); |
83 | ········super.computeFields(); | 83 | ········super.computeFields(); |
84 | ····} | 84 | ····} |
85 | ···· | 85 | ···· |
86 | ····public·void·add(final·int·field,·final·int·amount)·{ | ||
87 | ········Proxies.dirty((Proxy)this,·true); | ||
88 | ········super.add(field,·amount); | ||
89 | ····} | ||
90 | ···· | ||
91 | ····public·void·setTimeZone(final·TimeZone·timeZone)·{ | ||
92 | ········Proxies.dirty((Proxy)this,·true); | ||
93 | ········super.setTimeZone(timeZone); | ||
94 | ····} | ||
95 | ···· | ||
96 | ····public·void·roll(final·int·field,·final·boolean·up)·{ | 86 | ····public·void·roll(final·int·field,·final·boolean·up)·{ |
97 | ········Proxies.dirty((Proxy)this,·true); | 87 | ········Proxies.dirty((Proxy)this,·true); |
98 | ········super.roll(field,·up); | 88 | ········super.roll(field,·up); |
99 | ····} | 89 | ····} |
100 | ···· | 90 | ···· |
101 | ····public·void·roll(final·int·field,·final·int·amount)·{ | 91 | ····public·void·roll(final·int·field,·final·int·amount)·{ |
102 | ········Proxies.dirty((Proxy)this,·true); | 92 | ········Proxies.dirty((Proxy)this,·true); |
Offset 109, 17 lines modified | Offset 99, 22 lines modified | ||
109 | ····} | 99 | ····} |
110 | ···· | 100 | ···· |
111 | ····public·void·setGregorianChange(final·Date·gregorianChange)·{ | 101 | ····public·void·setGregorianChange(final·Date·gregorianChange)·{ |
112 | ········Proxies.dirty((Proxy)this,·true); | 102 | ········Proxies.dirty((Proxy)this,·true); |
113 | ········super.setGregorianChange(gregorianChange); | 103 | ········super.setGregorianChange(gregorianChange); |
114 | ····} | 104 | ····} |
115 | ···· | 105 | ···· |
116 | ····public·void· | 106 | ····public·void·add(final·int·field,·final·int·amount)·{ |
117 | ········Proxies.dirty((Proxy)this,·true); | 107 | ········Proxies.dirty((Proxy)this,·true); |
118 | ········super. | 108 | ········super.add(field,·amount); |
109 | ····} | ||
110 | ···· | ||
111 | ····public·void·setTimeZone(final·TimeZone·timeZone)·{ | ||
112 | ········Proxies.dirty((Proxy)this,·true); | ||
113 | ········super.setTimeZone(timeZone); | ||
119 | ····} | 114 | ····} |
120 | ···· | 115 | ···· |
121 | ····public·void·setTimeInMillis(final·long·timeInMillis)·{ | 116 | ····public·void·setTimeInMillis(final·long·timeInMillis)·{ |
122 | ········Proxies.dirty((Proxy)this,·true); | 117 | ········Proxies.dirty((Proxy)this,·true); |
123 | ········super.setTimeInMillis(timeInMillis); | 118 | ········super.setTimeInMillis(timeInMillis); |
124 | ····} | 119 | ····} |
125 | ···· | 120 | ···· |
Offset 134, 11 lines modified | Offset 129, 16 lines modified | ||
134 | ····} | 129 | ····} |
135 | ···· | 130 | ···· |
136 | ····public·void·setLenient(final·boolean·lenient)·{ | 131 | ····public·void·setLenient(final·boolean·lenient)·{ |
137 | ········Proxies.dirty((Proxy)this,·true); | 132 | ········Proxies.dirty((Proxy)this,·true); |
138 | ········super.setLenient(lenient); | 133 | ········super.setLenient(lenient); |
139 | ····} | 134 | ····} |
140 | ···· | 135 | ···· |
136 | ····public·void·set(final·int·field,·final·int·value)·{ | ||
137 | ········Proxies.dirty((Proxy)this,·true); | ||
138 | ········super.set(field,·value); | ||
139 | ····} | ||
140 | ···· | ||
141 | ····protected·Object·writeReplace()·throws·ObjectStreamException·{ | 141 | ····protected·Object·writeReplace()·throws·ObjectStreamException·{ |
142 | ········return·Proxies.writeReplace((Proxy)this,·true); | 142 | ········return·Proxies.writeReplace((Proxy)this,·true); |
143 | ····} | 143 | ····} |
144 | } | 144 | } |
Offset 13, 19 lines modified | Offset 13, 19 lines modified | ||
13 | { | 13 | { |
14 | ····private·transient·OpenJPAStateManager·sm; | 14 | ····private·transient·OpenJPAStateManager·sm; |
15 | ····private·transient·int·field; | 15 | ····private·transient·int·field; |
16 | ····private·transient·MapChangeTracker·changeTracker; | 16 | ····private·transient·MapChangeTracker·changeTracker; |
17 | ····private·transient·Class·keyType; | 17 | ····private·transient·Class·keyType; |
18 | ····private·transient·Class·valueType; | 18 | ····private·transient·Class·valueType; |
19 | ···· | 19 | ···· |
20 | ····public·java$util$IdentityHashMap$proxy( | 20 | ····public·java$util$IdentityHashMap$proxy()·{ |
21 | ········super(expectedMaxSize); | ||
22 | ····} | 21 | ····} |
23 | ···· | 22 | ···· |
24 | ····public·java$util$IdentityHashMap$proxy()·{ | 23 | ····public·java$util$IdentityHashMap$proxy(final·int·expectedMaxSize)·{ |
24 | ········super(expectedMaxSize); | ||
25 | ····} | 25 | ····} |
26 | ···· | 26 | ···· |
27 | ····public·java$util$IdentityHashMap$proxy(final·Map·m)·{ | 27 | ····public·java$util$IdentityHashMap$proxy(final·Map·m)·{ |
28 | ········super(m); | 28 | ········super(m); |
29 | ····} | 29 | ····} |
30 | ···· | 30 | ···· |
31 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 31 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
Offset 13, 31 lines modified | Offset 13, 31 lines modified | ||
13 | { | 13 | { |
14 | ····private·transient·OpenJPAStateManager·sm; | 14 | ····private·transient·OpenJPAStateManager·sm; |
15 | ····private·transient·int·field; | 15 | ····private·transient·int·field; |
16 | ····private·transient·MapChangeTracker·changeTracker; | 16 | ····private·transient·MapChangeTracker·changeTracker; |
17 | ····private·transient·Class·keyType; | 17 | ····private·transient·Class·keyType; |
18 | ····private·transient·Class·valueType; | 18 | ····private·transient·Class·valueType; |
19 | ···· | 19 | ···· |
20 | ····public·java$util$LinkedHashMap$proxy(final·int·initialCapacity,·final·float·loadFactor,·final·boolean·accessOrder)·{ | ||
21 | ········super(initialCapacity,·loadFactor,·accessOrder); | ||
22 | ····} | ||
23 | ···· | ||
24 | ····public·java$util$LinkedHashMap$proxy( | 20 | ····public·java$util$LinkedHashMap$proxy()·{ |
25 | ········super(m); | ||
26 | ····} | 21 | ····} |
27 | ···· | 22 | ···· |
28 | ····public·java$util$LinkedHashMap$proxy(final·int·initialCapacity)·{ | 23 | ····public·java$util$LinkedHashMap$proxy(final·int·initialCapacity)·{ |
29 | ········super(initialCapacity); | 24 | ········super(initialCapacity); |
30 | ····} | 25 | ····} |
31 | ···· | 26 | ···· |
32 | ····public·java$util$LinkedHashMap$proxy(final·int·initialCapacity,·final·float·loadFactor)·{ | 27 | ····public·java$util$LinkedHashMap$proxy(final·int·initialCapacity,·final·float·loadFactor)·{ |
33 | ········super(initialCapacity,·loadFactor); | 28 | ········super(initialCapacity,·loadFactor); |
34 | ····} | 29 | ····} |
35 | ···· | 30 | ···· |
36 | ····public·java$util$LinkedHashMap$proxy()·{ | 31 | ····public·java$util$LinkedHashMap$proxy(final·Map·m)·{ |
32 | ········super(m); | ||
33 | ····} | ||
34 | ···· | ||
35 | ····public·java$util$LinkedHashMap$proxy(final·int·initialCapacity,·final·float·loadFactor,·final·boolean·accessOrder)·{ | ||
36 | ········super(initialCapacity,·loadFactor,·accessOrder); | ||
37 | ····} | 37 | ····} |
38 | ···· | 38 | ···· |
39 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 39 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
40 | ········this.sm·=·sm; | 40 | ········this.sm·=·sm; |
41 | ········this.field·=·field; | 41 | ········this.field·=·field; |
42 | ····} | 42 | ····} |
43 | ···· | 43 | ···· |
Offset 60, 14 lines modified | Offset 60, 44 lines modified | ||
60 | ········java$util$LinkedList$proxy.elementType·=·elementType; | 60 | ········java$util$LinkedList$proxy.elementType·=·elementType; |
61 | ········if·(b)·{ | 61 | ········if·(b)·{ |
62 | ············java$util$LinkedList$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$LinkedList$proxy,·true,·true,·b2); | 62 | ············java$util$LinkedList$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$LinkedList$proxy,·true,·true,·b2); |
63 | ········} | 63 | ········} |
64 | ········return·(ProxyCollection)java$util$LinkedList$proxy; | 64 | ········return·(ProxyCollection)java$util$LinkedList$proxy; |
65 | ····} | 65 | ····} |
66 | ···· | 66 | ···· |
67 | ····public·ListIterator·listIterator(final·int·index)·{ | ||
68 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·index,·(ListIterator)super.listIterator(index)); | ||
69 | ····} | ||
70 | ···· | ||
71 | ····public·void·addLast(final·Object·e)·{ | ||
72 | ········ProxyCollections.beforeAddLast((ProxyCollection)this,·e); | ||
73 | ········super.addLast(e); | ||
74 | ········ProxyCollections.afterAddLast((ProxyCollection)this,·e); | ||
75 | ····} | ||
76 | ···· | ||
77 | ····public·void·addFirst(final·Object·e)·{ | ||
78 | ········ProxyCollections.beforeAddFirst((ProxyCollection)this,·e); | ||
79 | ········super.addFirst(e); | ||
80 | ····} | ||
81 | ···· | ||
82 | ····public·Object·removeFirst()·{ | ||
83 | ········ProxyCollections.beforeRemoveFirst((ProxyCollection)this); | ||
84 | ········return·ProxyCollections.afterRemoveFirst((ProxyCollection)this,·super.removeFirst()); | ||
85 | ····} | ||
86 | ···· | ||
87 | ····public·Object·removeLast()·{ | ||
88 | ········ProxyCollections.beforeRemoveLast((ProxyCollection)this); | ||
89 | ········return·ProxyCollections.afterRemoveLast((ProxyCollection)this,·super.removeLast()); | ||
90 | ····} | ||
91 | ···· | ||
92 | ····public·boolean·offer(final·Object·e)·{ | ||
93 | ········ProxyCollections.beforeOffer((ProxyCollection)this,·e); | ||
94 | ········return·ProxyCollections.afterOffer((ProxyCollection)this,·e,·super.offer(e)); | ||
95 | ····} | ||
96 | ···· | ||
67 | ····public·boolean·add(final·Object·e)·{ | 97 | ····public·boolean·add(final·Object·e)·{ |
68 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); | 98 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); |
69 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); | 99 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); |
70 | ····} | 100 | ····} |
71 | ···· | 101 | ···· |
72 | ····public·void·add(final·int·index,·final·Object·element)·{ | 102 | ····public·void·add(final·int·index,·final·Object·element)·{ |
73 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·index,·element); | 103 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·index,·element); |
Offset 108, 44 lines modified | Offset 138, 14 lines modified | ||
108 | ····} | 138 | ····} |
109 | ···· | 139 | ···· |
110 | ····public·Object·poll()·{ | 140 | ····public·Object·poll()·{ |
111 | ········ProxyCollections.beforePoll((ProxyCollection)this); | 141 | ········ProxyCollections.beforePoll((ProxyCollection)this); |
112 | ········return·ProxyCollections.afterPoll((ProxyCollection)this,·super.poll()); | 142 | ········return·ProxyCollections.afterPoll((ProxyCollection)this,·super.poll()); |
113 | ····} | 143 | ····} |
114 | ···· | 144 | ···· |
115 | ····public·ListIterator·listIterator(final·int·index)·{ | ||
116 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·index,·(ListIterator)super.listIterator(index)); | ||
117 | ····} | ||
118 | ···· | ||
119 | ····public·void·addLast(final·Object·e)·{ | ||
120 | ········ProxyCollections.beforeAddLast((ProxyCollection)this,·e); | ||
121 | ········super.addLast(e); | ||
122 | ········ProxyCollections.afterAddLast((ProxyCollection)this,·e); | ||
123 | ····} | ||
124 | ···· | ||
125 | ····public·void·addFirst(final·Object·e)·{ | ||
126 | ········ProxyCollections.beforeAddFirst((ProxyCollection)this,·e); | ||
127 | ········super.addFirst(e); | ||
128 | ····} | ||
129 | ···· | ||
130 | ····public·Object·removeFirst()·{ | ||
131 | ········ProxyCollections.beforeRemoveFirst((ProxyCollection)this); | ||
132 | ········return·ProxyCollections.afterRemoveFirst((ProxyCollection)this,·super.removeFirst()); | ||
133 | ····} | ||
134 | ···· | ||
135 | ····public·Object·removeLast()·{ | ||
136 | ········ProxyCollections.beforeRemoveLast((ProxyCollection)this); | ||
137 | ········return·ProxyCollections.afterRemoveLast((ProxyCollection)this,·super.removeLast()); | ||
138 | ····} | ||
139 | ···· | ||
140 | ····public·boolean·offer(final·Object·e)·{ | ||
141 | ········ProxyCollections.beforeOffer((ProxyCollection)this,·e); | ||
142 | ········return·ProxyCollections.afterOffer((ProxyCollection)this,·e,·super.offer(e)); | ||
143 | ····} | ||
144 | ···· | ||
145 | ····public·Iterator·iterator()·{ | 145 | ····public·Iterator·iterator()·{ |
146 | ········return·ProxyCollections.afterIterator((ProxyCollection)this,·(Iterator)super.iterator()); | 146 | ········return·ProxyCollections.afterIterator((ProxyCollection)this,·(Iterator)super.iterator()); |
147 | ····} | 147 | ····} |
148 | ···· | 148 | ···· |
149 | ····public·ListIterator·listIterator()·{ | 149 | ····public·ListIterator·listIterator()·{ |
150 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·(ListIterator)super.listIterator()); | 150 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·(ListIterator)super.listIterator()); |
151 | ····} | 151 | ····} |
Offset 1, 45 lines modified | Offset 1, 45 lines modified | ||
1 | package·org.apache.openjpa.util; | 1 | package·org.apache.openjpa.util; |
2 | import·java.io.ObjectStreamException; | 2 | import·java.io.ObjectStreamException; |
3 | import·java.util.function.Predicate; | 3 | import·java.util.function.Predicate; |
4 | import·java.util.Iterator; | 4 | import·java.util.Iterator; |
5 | import·java.util.SortedSet; | ||
6 | import·java.util.Collection; | 5 | import·java.util.Collection; |
6 | import·java.util.SortedSet; | ||
7 | import·java.util.Comparator; | 7 | import·java.util.Comparator; |
8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; | 8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; |
9 | import·java.util.PriorityQueue; | 9 | import·java.util.PriorityQueue; |
10 | public·class·java$util$PriorityQueue$proxy·extends·PriorityQueue·implements·ProxyCollection | 10 | public·class·java$util$PriorityQueue$proxy·extends·PriorityQueue·implements·ProxyCollection |
11 | { | 11 | { |
12 | ····private·transient·OpenJPAStateManager·sm; | 12 | ····private·transient·OpenJPAStateManager·sm; |
13 | ····private·transient·int·field; | 13 | ····private·transient·int·field; |
14 | ····private·transient·CollectionChangeTracker·changeTracker; | 14 | ····private·transient·CollectionChangeTracker·changeTracker; |
15 | ····private·transient·Class·elementType; | 15 | ····private·transient·Class·elementType; |
16 | ···· | 16 | ···· |
17 | ····public·java$util$PriorityQueue$proxy()·{ | ||
18 | ····} | ||
19 | ···· | ||
17 | ····public·java$util$PriorityQueue$proxy(final·int·initialCapacity,·final·Comparator·comparator)·{ | 20 | ····public·java$util$PriorityQueue$proxy(final·int·initialCapacity,·final·Comparator·comparator)·{ |
18 | ········super(initialCapacity,·comparator); | 21 | ········super(initialCapacity,·comparator); |
19 | ····} | 22 | ····} |
20 | ···· | 23 | ···· |
21 | ····public·java$util$PriorityQueue$proxy(final· | 24 | ····public·java$util$PriorityQueue$proxy(final·SortedSet·c)·{ |
22 | ········super(c); | 25 | ········super(c); |
23 | ····} | 26 | ····} |
24 | ···· | 27 | ···· |
25 | ····public·java$util$PriorityQueue$proxy(final· | 28 | ····public·java$util$PriorityQueue$proxy(final·Collection·c)·{ |
26 | ········super(c); | 29 | ········super(c); |
27 | ····} | 30 | ····} |
28 | ···· | 31 | ···· |
29 | ····public·java$util$PriorityQueue$proxy(final· | 32 | ····public·java$util$PriorityQueue$proxy(final·PriorityQueue·c)·{ |
30 | ········super(c); | 33 | ········super(c); |
31 | ····} | 34 | ····} |
32 | ···· | 35 | ···· |
33 | ····public·java$util$PriorityQueue$proxy()·{ | ||
34 | ····} | ||
35 | ···· | ||
36 | ····public·java$util$PriorityQueue$proxy(final·int·initialCapacity)·{ | 36 | ····public·java$util$PriorityQueue$proxy(final·int·initialCapacity)·{ |
37 | ········super(initialCapacity); | 37 | ········super(initialCapacity); |
38 | ····} | 38 | ····} |
39 | ···· | 39 | ···· |
40 | ····public·java$util$PriorityQueue$proxy(final·Comparator·comparator)·{ | 40 | ····public·java$util$PriorityQueue$proxy(final·Comparator·comparator)·{ |
41 | ········super(comparator); | 41 | ········super(comparator); |
42 | ····} | 42 | ····} |
Offset 80, 14 lines modified | Offset 80, 19 lines modified | ||
80 | ········java$util$PriorityQueue$proxy.elementType·=·elementType; | 80 | ········java$util$PriorityQueue$proxy.elementType·=·elementType; |
81 | ········if·(b)·{ | 81 | ········if·(b)·{ |
82 | ············java$util$PriorityQueue$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$PriorityQueue$proxy,·true,·false,·b2); | 82 | ············java$util$PriorityQueue$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$PriorityQueue$proxy,·true,·false,·b2); |
83 | ········} | 83 | ········} |
84 | ········return·(ProxyCollection)java$util$PriorityQueue$proxy; | 84 | ········return·(ProxyCollection)java$util$PriorityQueue$proxy; |
85 | ····} | 85 | ····} |
86 | ···· | 86 | ···· |
87 | ····public·boolean·offer(final·Object·e)·{ | ||
88 | ········ProxyCollections.beforeOffer((ProxyCollection)this,·e); | ||
89 | ········return·ProxyCollections.afterOffer((ProxyCollection)this,·e,·super.offer(e)); | ||
90 | ····} | ||
91 | ···· | ||
87 | ····public·boolean·add(final·Object·e)·{ | 92 | ····public·boolean·add(final·Object·e)·{ |
88 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); | 93 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); |
89 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); | 94 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); |
90 | ····} | 95 | ····} |
91 | ···· | 96 | ···· |
92 | ····public·boolean·remove(final·Object·o)·{ | 97 | ····public·boolean·remove(final·Object·o)·{ |
93 | ········ProxyCollections.beforeRemove((ProxyCollection)this,·o); | 98 | ········ProxyCollections.beforeRemove((ProxyCollection)this,·o); |
Offset 112, 19 lines modified | Offset 117, 14 lines modified | ||
112 | ········return·ProxyCollections.retainAll((ProxyCollection)this,·collection); | 117 | ········return·ProxyCollections.retainAll((ProxyCollection)this,·collection); |
113 | ····} | 118 | ····} |
114 | ···· | 119 | ···· |
115 | ····public·boolean·removeAll(final·Collection·collection)·{ | 120 | ····public·boolean·removeAll(final·Collection·collection)·{ |
116 | ········return·ProxyCollections.removeAll((ProxyCollection)this,·collection); | 121 | ········return·ProxyCollections.removeAll((ProxyCollection)this,·collection); |
117 | ····} | 122 | ····} |
118 | ···· | 123 | ···· |
119 | ····public·boolean·offer(final·Object·e)·{ | ||
120 | ········ProxyCollections.beforeOffer((ProxyCollection)this,·e); | ||
121 | ········return·ProxyCollections.afterOffer((ProxyCollection)this,·e,·super.offer(e)); | ||
122 | ····} | ||
123 | ···· | ||
124 | ····public·Object·remove()·{ | 124 | ····public·Object·remove()·{ |
125 | ········ProxyCollections.beforeRemove((ProxyCollection)this); | 125 | ········ProxyCollections.beforeRemove((ProxyCollection)this); |
126 | ········return·ProxyCollections.afterRemove((ProxyCollection)this,·super.remove()); | 126 | ········return·ProxyCollections.afterRemove((ProxyCollection)this,·super.remove()); |
127 | ····} | 127 | ····} |
128 | ···· | 128 | ···· |
129 | ····public·boolean·addAll(final·Collection·collection)·{ | 129 | ····public·boolean·addAll(final·Collection·collection)·{ |
130 | ········return·ProxyCollections.addAll((ProxyCollection)this,·collection); | 130 | ········return·ProxyCollections.addAll((ProxyCollection)this,·collection); |
Offset 1, 40 lines modified | Offset 1, 40 lines modified | ||
1 | package·org.apache.openjpa.util; | 1 | package·org.apache.openjpa.util; |
2 | import·java.io.ObjectStreamException; | 2 | import·java.io.ObjectStreamException; |
3 | import·java.util.Set; | 3 | import·java.util.Set; |
4 | import·java.util.Collection; | 4 | import·java.util.Collection; |
5 | import·java.util.Comparator; | ||
6 | import·java.util.Map; | 5 | import·java.util.Map; |
6 | import·java.util.Comparator; | ||
7 | import·java.util.SortedMap; | 7 | import·java.util.SortedMap; |
8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; | 8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; |
9 | import·java.util.TreeMap; | 9 | import·java.util.TreeMap; |
10 | public·class·java$util$TreeMap$proxy·extends·TreeMap·implements·ProxyMap | 10 | public·class·java$util$TreeMap$proxy·extends·TreeMap·implements·ProxyMap |
11 | { | 11 | { |
12 | ····private·transient·OpenJPAStateManager·sm; | 12 | ····private·transient·OpenJPAStateManager·sm; |
13 | ····private·transient·int·field; | 13 | ····private·transient·int·field; |
14 | ····private·transient·MapChangeTracker·changeTracker; | 14 | ····private·transient·MapChangeTracker·changeTracker; |
15 | ····private·transient·Class·keyType; | 15 | ····private·transient·Class·keyType; |
16 | ····private·transient·Class·valueType; | 16 | ····private·transient·Class·valueType; |
17 | ···· | 17 | ···· |
18 | ····public·java$util$TreeMap$proxy( | 18 | ····public·java$util$TreeMap$proxy()·{ |
19 | ········super(m); | ||
20 | ····} | 19 | ····} |
21 | ···· | 20 | ···· |
22 | ····public·java$util$TreeMap$proxy(final·Map·m)·{ | 21 | ····public·java$util$TreeMap$proxy(final·SortedMap·m)·{ |
23 | ········super(m); | 22 | ········super(m); |
24 | ····} | 23 | ····} |
25 | ···· | 24 | ···· |
26 | ····public·java$util$TreeMap$proxy(final·Comparator·comparator)·{ | 25 | ····public·java$util$TreeMap$proxy(final·Comparator·comparator)·{ |
27 | ········super(comparator); | 26 | ········super(comparator); |
28 | ····} | 27 | ····} |
29 | ···· | 28 | ···· |
30 | ····public·java$util$TreeMap$proxy()·{ | 29 | ····public·java$util$TreeMap$proxy(final·Map·m)·{ |
30 | ········super(m); | ||
31 | ····} | 31 | ····} |
32 | ···· | 32 | ···· |
33 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 33 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
34 | ········this.sm·=·sm; | 34 | ········this.sm·=·sm; |
35 | ········this.field·=·field; | 35 | ········this.field·=·field; |
36 | ····} | 36 | ····} |
37 | ···· | 37 | ···· |
Offset 1, 36 lines modified | Offset 1, 36 lines modified | ||
1 | package·org.apache.openjpa.util; | 1 | package·org.apache.openjpa.util; |
2 | import·java.io.ObjectStreamException; | 2 | import·java.io.ObjectStreamException; |
3 | import·java.util.function.Predicate; | 3 | import·java.util.function.Predicate; |
4 | import·java.util.Iterator; | 4 | import·java.util.Iterator; |
5 | import·java.util.Comparator; | ||
6 | import·java.util.Collection; | ||
7 | import·java.util.SortedSet; | 5 | import·java.util.SortedSet; |
6 | import·java.util.Collection; | ||
7 | import·java.util.Comparator; | ||
8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; | 8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; |
9 | import·java.util.TreeSet; | 9 | import·java.util.TreeSet; |
10 | public·class·java$util$TreeSet$proxy·extends·TreeSet·implements·ProxyCollection | 10 | public·class·java$util$TreeSet$proxy·extends·TreeSet·implements·ProxyCollection |
11 | { | 11 | { |
12 | ····private·transient·OpenJPAStateManager·sm; | 12 | ····private·transient·OpenJPAStateManager·sm; |
13 | ····private·transient·int·field; | 13 | ····private·transient·int·field; |
14 | ····private·transient·CollectionChangeTracker·changeTracker; | 14 | ····private·transient·CollectionChangeTracker·changeTracker; |
15 | ····private·transient·Class·elementType; | 15 | ····private·transient·Class·elementType; |
16 | ···· | 16 | ···· |
17 | ····public·java$util$TreeSet$proxy(final· | 17 | ····public·java$util$TreeSet$proxy(final·Comparator·comparator)·{ |
18 | ········super( | 18 | ········super(comparator); |
19 | ····} | 19 | ····} |
20 | ···· | 20 | ···· |
21 | ····public·java$util$TreeSet$proxy(final·Collection·c)·{ | 21 | ····public·java$util$TreeSet$proxy(final·Collection·c)·{ |
22 | ········super(c); | 22 | ········super(c); |
23 | ····} | 23 | ····} |
24 | ···· | 24 | ···· |
25 | ····public·java$util$TreeSet$proxy(final· | 25 | ····public·java$util$TreeSet$proxy(final·SortedSet·s)·{ |
26 | ········super( | 26 | ········super(s); |
27 | ····} | 27 | ····} |
28 | ···· | 28 | ···· |
29 | ····public·java$util$TreeSet$proxy()·{ | 29 | ····public·java$util$TreeSet$proxy()·{ |
30 | ····} | 30 | ····} |
31 | ···· | 31 | ···· |
32 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 32 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
33 | ········this.sm·=·sm; | 33 | ········this.sm·=·sm; |
Offset 1, 39 lines modified | Offset 1, 39 lines modified | ||
1 | package·org.apache.openjpa.util; | 1 | package·org.apache.openjpa.util; |
2 | import·java.io.ObjectStreamException; | 2 | import·java.io.ObjectStreamException; |
3 | import·java.util.function.Predicate; | 3 | import·java.util.function.Predicate; |
4 | import·java.util.ListIterator; | ||
5 | import·java.util.Iterator; | 4 | import·java.util.Iterator; |
5 | import·java.util.ListIterator; | ||
6 | import·java.util.Comparator; | 6 | import·java.util.Comparator; |
7 | import·java.util.Collection; | 7 | import·java.util.Collection; |
8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; | 8 | import·org.apache.openjpa.kernel.OpenJPAStateManager; |
9 | import·java.util.Vector; | 9 | import·java.util.Vector; |
10 | public·class·java$util$Vector$proxy·extends·Vector·implements·ProxyCollection | 10 | public·class·java$util$Vector$proxy·extends·Vector·implements·ProxyCollection |
11 | { | 11 | { |
12 | ····private·transient·OpenJPAStateManager·sm; | 12 | ····private·transient·OpenJPAStateManager·sm; |
13 | ····private·transient·int·field; | 13 | ····private·transient·int·field; |
14 | ····private·transient·CollectionChangeTracker·changeTracker; | 14 | ····private·transient·CollectionChangeTracker·changeTracker; |
15 | ····private·transient·Class·elementType; | 15 | ····private·transient·Class·elementType; |
16 | ···· | 16 | ···· |
17 | ····public·java$util$Vector$proxy(final·Collection·c)·{ | ||
18 | ········ | 17 | ····public·java$util$Vector$proxy(final·int·initialCapacity,·final·int·capacityIncrement)·{ |
18 | ········super(initialCapacity,·capacityIncrement); | ||
19 | ····} | 19 | ····} |
20 | ···· | 20 | ···· |
21 | ····public·java$util$Vector$proxy()·{ | 21 | ····public·java$util$Vector$proxy()·{ |
22 | ····} | 22 | ····} |
23 | ···· | 23 | ···· |
24 | ····public·java$util$Vector$proxy(final·int·initialCapacity)·{ | 24 | ····public·java$util$Vector$proxy(final·int·initialCapacity)·{ |
25 | ········super(initialCapacity); | 25 | ········super(initialCapacity); |
26 | ····} | 26 | ····} |
27 | ···· | 27 | ···· |
28 | ····public·java$util$Vector$proxy(final·int·initialCapacity,·final·int·capacityIncrement)·{ | ||
29 | ···· | 28 | ····public·java$util$Vector$proxy(final·Collection·c)·{ |
29 | ········super(c); | ||
30 | ····} | 30 | ····} |
31 | ···· | 31 | ···· |
32 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ | 32 | ····public·void·setOwner(final·OpenJPAStateManager·sm,·final·int·field)·{ |
33 | ········this.sm·=·sm; | 33 | ········this.sm·=·sm; |
34 | ········this.field·=·field; | 34 | ········this.field·=·field; |
35 | ····} | 35 | ····} |
36 | ···· | 36 | ···· |
Offset 68, 14 lines modified | Offset 68, 47 lines modified | ||
68 | ········java$util$Vector$proxy.elementType·=·elementType; | 68 | ········java$util$Vector$proxy.elementType·=·elementType; |
69 | ········if·(b)·{ | 69 | ········if·(b)·{ |
70 | ············java$util$Vector$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$Vector$proxy,·true,·true,·b2); | 70 | ············java$util$Vector$proxy.changeTracker·=·(CollectionChangeTracker)new·CollectionChangeTrackerImpl((Collection)java$util$Vector$proxy,·true,·true,·b2); |
71 | ········} | 71 | ········} |
72 | ········return·(ProxyCollection)java$util$Vector$proxy; | 72 | ········return·(ProxyCollection)java$util$Vector$proxy; |
73 | ····} | 73 | ····} |
74 | ···· | 74 | ···· |
75 | ····public·ListIterator·listIterator(final·int·index)·{ | ||
76 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·index,·(ListIterator)super.listIterator(index)); | ||
77 | ····} | ||
78 | ···· | ||
79 | ····public·ListIterator·listIterator()·{ | ||
80 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·(ListIterator)super.listIterator()); | ||
81 | ····} | ||
82 | ···· | ||
83 | ····public·void·setElementAt(final·Object·obj,·final·int·index)·{ | ||
84 | ········ProxyCollections.beforeSetElementAt((ProxyCollection)this,·obj,·index); | ||
85 | ········super.setElementAt(obj,·index); | ||
86 | ····} | ||
87 | ···· | ||
88 | ····public·void·removeElementAt(final·int·index)·{ | ||
89 | ········ProxyCollections.beforeRemoveElementAt((ProxyCollection)this,·index); | ||
90 | ········super.removeElementAt(index); | ||
91 | ····} | ||
92 | ···· | ||
93 | ····public·void·insertElementAt(final·Object·obj,·final·int·index)·{ | ||
94 | ········ProxyCollections.beforeInsertElementAt((ProxyCollection)this,·obj,·index); | ||
95 | ········super.insertElementAt(obj,·index); | ||
96 | ····} | ||
97 | ···· | ||
98 | ····public·boolean·removeElement(final·Object·obj)·{ | ||
99 | ········ProxyCollections.beforeRemoveElement((ProxyCollection)this,·obj); | ||
100 | ········return·ProxyCollections.afterRemoveElement((ProxyCollection)this,·obj,·super.removeElement(obj)); | ||
101 | ····} | ||
102 | ···· | ||
103 | ····public·void·removeAllElements()·{ | ||
104 | ········ProxyCollections.beforeRemoveAllElements((ProxyCollection)this); | ||
105 | ········super.removeAllElements(); | ||
106 | ····} | ||
107 | ···· | ||
75 | ····public·boolean·add(final·Object·e)·{ | 108 | ····public·boolean·add(final·Object·e)·{ |
76 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); | 109 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·e); |
77 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); | 110 | ········return·ProxyCollections.afterAdd((ProxyCollection)this,·e,·super.add(e)); |
78 | ····} | 111 | ····} |
79 | ···· | 112 | ···· |
80 | ····public·void·add(final·int·index,·final·Object·element)·{ | 113 | ····public·void·add(final·int·index,·final·Object·element)·{ |
81 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·index,·element); | 114 | ········ProxyCollections.beforeAdd((ProxyCollection)this,·index,·element); |
Offset 124, 54 lines modified | Offset 157, 21 lines modified | ||
124 | ········return·ProxyCollections.retainAll((ProxyCollection)this,·collection); | 157 | ········return·ProxyCollections.retainAll((ProxyCollection)this,·collection); |
125 | ····} | 158 | ····} |
126 | ···· | 159 | ···· |
127 | ····public·boolean·removeAll(final·Collection·collection)·{ | 160 | ····public·boolean·removeAll(final·Collection·collection)·{ |
128 | ········return·ProxyCollections.removeAll((ProxyCollection)this,·collection); | 161 | ········return·ProxyCollections.removeAll((ProxyCollection)this,·collection); |
129 | ····} | 162 | ····} |
130 | ···· | 163 | ···· |
164 | ····public·void·setSize(final·int·size)·{ | ||
165 | ········Proxies.dirty((Proxy)this,·true); | ||
166 | ········super.setSize(size); | ||
131 | ····public·ListIterator·listIterator()·{ | ||
132 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·(ListIterator)super.listIterator()); | ||
133 | ····} | ||
134 | ···· | ||
135 | ····public·ListIterator·listIterator(final·int·index)·{ | ||
136 | ········return·ProxyCollections.afterListIterator((ProxyCollection)this,·index,·(ListIterator)super.listIterator(index)); | ||
137 | ····} | ||
138 | ···· | ||
139 | ····public·void·setElementAt(final·Object·obj,·final·int·index)·{ | ||
140 | ········ProxyCollections.beforeSetElementAt((ProxyCollection)this,·obj,·index); | ||
141 | ········super.setElementAt(obj,·index); | ||
142 | ····} | ||
143 | ···· | ||
144 | ····public·void·removeElementAt(final·int·index)·{ | ||
145 | ········ProxyCollections.beforeRemoveElementAt((ProxyCollection)this,·index); | ||
146 | ········super.removeElementAt(index); | ||
147 | ····} | ||
148 | ···· | ||
149 | ····public·void·insertElementAt(final·Object·obj,·final·int·index)·{ | ||
150 | ········ProxyCollections.beforeInsertElementAt((ProxyCollection)this,·obj,·index); | ||
151 | ········super.insertElementAt(obj,·index); | ||
152 | ····} | ||
153 | ···· | ||
154 | ····public·boolean·removeElement(final·Object·obj)·{ | ||
155 | ········ProxyCollections.beforeRemoveElement((ProxyCollection)this,·obj); | ||
156 | ········return·ProxyCollections.afterRemoveElement((ProxyCollection)this,·obj,·super.removeElement(obj)); | ||
Max diff block lines reached; 421/5620 bytes (7.49%) of diff not shown. |