Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·6c92b77bc1609e8d36366f88ebbdfa3e·303584·doc·optional·libc3p0-java-doc_0.9.1.2-10_all.deb | 1 | ·6c92b77bc1609e8d36366f88ebbdfa3e·303584·doc·optional·libc3p0-java-doc_0.9.1.2-10_all.deb |
2 | ·6 | 2 | ·0a1768a7aae93c213ad3d5e9eb573900·599884·java·optional·libc3p0-java_0.9.1.2-10_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2018-12-25·14:16:25.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2018-12-25·14:16:25.000000·debian-binary |
2 | -rw-r--r--···0········0········0······8 | 2 | -rw-r--r--···0········0········0······808·2018-12-25·14:16:25.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···5988 | 3 | -rw-r--r--···0········0········0···598884·2018-12-25·14:16:25.000000·data.tar.xz |
Offset 3, 15 lines modified | Offset 3, 15 lines modified | ||
3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/ |
4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/doc/ | 4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/doc/ |
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/doc/libc3p0-java/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/doc/libc3p0-java/ |
6 | -rw-r--r--···0·root·········(0)·root·········(0)·····1916·2018-12-25·14:16:25.000000·./usr/share/doc/libc3p0-java/changelog.Debian.gz | 6 | -rw-r--r--···0·root·········(0)·root·········(0)·····1916·2018-12-25·14:16:25.000000·./usr/share/doc/libc3p0-java/changelog.Debian.gz |
7 | -rw-r--r--···0·root·········(0)·root·········(0)····26278·2007-05-21·18:58:41.000000·./usr/share/doc/libc3p0-java/changelog.gz | 7 | -rw-r--r--···0·root·········(0)·root·········(0)····26278·2007-05-21·18:58:41.000000·./usr/share/doc/libc3p0-java/changelog.gz |
8 | -rw-r--r--···0·root·········(0)·root·········(0)·····1528·2018-12-25·14:16:25.000000·./usr/share/doc/libc3p0-java/copyright | 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····1528·2018-12-25·14:16:25.000000·./usr/share/doc/libc3p0-java/copyright |
9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/java/ | 9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/java/ |
10 | -rw-r--r--···0·root·········(0)·root·········(0)···62919 | 10 | -rw-r--r--···0·root·········(0)·root·········(0)···629190·2018-12-25·14:16:25.000000·./usr/share/java/c3p0-0.9.1.2.jar |
11 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/maven-repo/ | 11 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/maven-repo/ |
12 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/maven-repo/c3p0/ | 12 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/maven-repo/c3p0/ |
13 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/maven-repo/c3p0/c3p0/ | 13 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/maven-repo/c3p0/c3p0/ |
14 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/maven-repo/c3p0/c3p0/0.9.1.2/ | 14 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/maven-repo/c3p0/c3p0/0.9.1.2/ |
15 | -rw-r--r--···0·root·········(0)·root·········(0)······916·2018-12-25·14:16:25.000000·./usr/share/maven-repo/c3p0/c3p0/0.9.1.2/c3p0-0.9.1.2.pom | 15 | -rw-r--r--···0·root·········(0)·root·········(0)······916·2018-12-25·14:16:25.000000·./usr/share/maven-repo/c3p0/c3p0/0.9.1.2/c3p0-0.9.1.2.pom |
16 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/maven-repo/c3p0/c3p0/debian/ | 16 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-25·14:16:25.000000·./usr/share/maven-repo/c3p0/c3p0/debian/ |
17 | -rw-r--r--···0·root·········(0)·root·········(0)······915·2018-12-25·14:16:25.000000·./usr/share/maven-repo/c3p0/c3p0/debian/c3p0-debian.pom | 17 | -rw-r--r--···0·root·········(0)·root·········(0)······915·2018-12-25·14:16:25.000000·./usr/share/maven-repo/c3p0/c3p0/debian/c3p0-debian.pom |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | Zip·file·size:·62919 | 1 | Zip·file·size:·629190·bytes,·number·of·entries:·434 |
2 | drwxr-xr-x··2.0·unx········0·bx·stor·18-Dec-25·14:16·META-INF/ | 2 | drwxr-xr-x··2.0·unx········0·bx·stor·18-Dec-25·14:16·META-INF/ |
3 | -rw-r--r--··2.0·unx······348·b-·defN·18-Dec-25·14:16·META-INF/MANIFEST.MF | 3 | -rw-r--r--··2.0·unx······348·b-·defN·18-Dec-25·14:16·META-INF/MANIFEST.MF |
4 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Dec-25·14:16·com/ | 4 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Dec-25·14:16·com/ |
5 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Dec-25·14:16·com/mchange/ | 5 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Dec-25·14:16·com/mchange/ |
6 | -rw-r--r--··2.0·unx······389·b-·defN·18-Dec-25·14:16·com/mchange/Debug.class | 6 | -rw-r--r--··2.0·unx······389·b-·defN·18-Dec-25·14:16·com/mchange/Debug.class |
7 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Dec-25·14:16·com/mchange/lang/ | 7 | drwxr-xr-x··2.0·unx········0·b-·stor·18-Dec-25·14:16·com/mchange/lang/ |
8 | -rw-r--r--··2.0·unx·····2589·b-·defN·18-Dec-25·14:16·com/mchange/lang/ByteUtils.class | 8 | -rw-r--r--··2.0·unx·····2589·b-·defN·18-Dec-25·14:16·com/mchange/lang/ByteUtils.class |
Offset 429, 8 lines modified | Offset 429, 8 lines modified | ||
429 | -rw-r--r--··2.0·unx·····2990·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/DoubleWeakHashMap$UserKeySet.class | 429 | -rw-r--r--··2.0·unx·····2990·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/DoubleWeakHashMap$UserKeySet.class |
430 | -rw-r--r--··2.0·unx·····1256·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/DoubleWeakHashMap$ValuesCollection$1.class | 430 | -rw-r--r--··2.0·unx·····1256·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/DoubleWeakHashMap$ValuesCollection$1.class |
431 | -rw-r--r--··2.0·unx·····3497·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/DoubleWeakHashMap$ValuesCollection.class | 431 | -rw-r--r--··2.0·unx·····3497·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/DoubleWeakHashMap$ValuesCollection.class |
432 | -rw-r--r--··2.0·unx·····1307·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/DoubleWeakHashMap$WKey.class | 432 | -rw-r--r--··2.0·unx·····1307·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/DoubleWeakHashMap$WKey.class |
433 | -rw-r--r--··2.0·unx······931·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/DoubleWeakHashMap$WVal.class | 433 | -rw-r--r--··2.0·unx······931·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/DoubleWeakHashMap$WVal.class |
434 | -rw-r--r--··2.0·unx·····5389·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/DoubleWeakHashMap.class | 434 | -rw-r--r--··2.0·unx·····5389·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/DoubleWeakHashMap.class |
435 | -rw-r--r--··2.0·unx·····1178·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/ResourceClosedException.class | 435 | -rw-r--r--··2.0·unx·····1178·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/ResourceClosedException.class |
436 | 434·files,·1481382·bytes·uncompressed,·55472 | 436 | 434·files,·1481382·bytes·uncompressed,·554720·bytes·compressed:··62.6% |
Offset 19, 21 lines modified | Offset 19, 21 lines modified | ||
19 | import·java.sql.Blob; | 19 | import·java.sql.Blob; |
20 | import·java.io.Reader; | 20 | import·java.io.Reader; |
21 | import·java.sql.SQLType; | 21 | import·java.sql.SQLType; |
22 | import·java.io.InputStream; | 22 | import·java.io.InputStream; |
23 | import·java.sql.Time; | 23 | import·java.sql.Time; |
24 | import·java.sql.Date; | 24 | import·java.sql.Date; |
25 | import·java.math.BigDecimal; | 25 | import·java.math.BigDecimal; |
26 | import·java.sql.Array; | ||
27 | import·java.net.URL; | ||
28 | import·java.util.Calendar; | 26 | import·java.util.Calendar; |
29 | import·java.sql.Timestamp; | 27 | import·java.sql.Timestamp; |
30 | import·java.sql.Ref; | 28 | import·java.sql.Ref; |
31 | import·java.sql.SQLException; | ||
32 | import·java.util.Map; | 29 | import·java.util.Map; |
30 | import·java.sql.Array; | ||
31 | import·java.net.URL; | ||
32 | import·java.sql.SQLException; | ||
33 | import·javax.sql.ConnectionEventListener; | 33 | import·javax.sql.ConnectionEventListener; |
34 | import·com.mchange.v2.log.MLogger; | 34 | import·com.mchange.v2.log.MLogger; |
35 | import·com.mchange.v2.c3p0.C3P0ProxyStatement; | 35 | import·com.mchange.v2.c3p0.C3P0ProxyStatement; |
36 | import·java.sql.CallableStatement; | 36 | import·java.sql.CallableStatement; |
37 | public·final·class·NewProxyCallableStatement·implements·CallableStatement,·C3P0ProxyStatement | 37 | public·final·class·NewProxyCallableStatement·implements·CallableStatement,·C3P0ProxyStatement |
38 | { | 38 | { |
Offset 46, 18 lines modified | Offset 46, 18 lines modified | ||
46 | ···· | 46 | ···· |
47 | ····public·NewProxyCallableStatement(final·CallableStatement·inner)·{ | 47 | ····public·NewProxyCallableStatement(final·CallableStatement·inner)·{ |
48 | ········this.cel·=·(ConnectionEventListener)new·NewProxyCallableStatement.NewProxyCallableStatement$1(this); | 48 | ········this.cel·=·(ConnectionEventListener)new·NewProxyCallableStatement.NewProxyCallableStatement$1(this); |
49 | ········this.inner·=·inner; | 49 | ········this.inner·=·inner; |
50 | ····} | 50 | ····} |
51 | ···· | 51 | ···· |
52 | ····@Override | 52 | ····@Override |
53 | ····public·final· | 53 | ····public·final·String·getString(final·int·a)·throws·SQLException·{ |
54 | ········try·{ | 54 | ········try·{ |
55 | ············this.maybeDirtyTransaction(); | 55 | ············this.maybeDirtyTransaction(); |
56 | ············return·this.inner.get | 56 | ············return·this.inner.getString(a); |
57 | ········} | 57 | ········} |
58 | ········catch·(final·NullPointerException·exc)·{ | 58 | ········catch·(final·NullPointerException·exc)·{ |
59 | ············if·(this.isDetached())·{ | 59 | ············if·(this.isDetached())·{ |
60 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); | 60 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); |
61 | ············} | 61 | ············} |
62 | ············throw·exc; | 62 | ············throw·exc; |
63 | ········} | 63 | ········} |
Offset 66, 18 lines modified | Offset 66, 18 lines modified | ||
66 | ················throw·new·RuntimeException(exc2); | 66 | ················throw·new·RuntimeException(exc2); |
67 | ············} | 67 | ············} |
68 | ············throw·new·RuntimeException(exc2); | 68 | ············throw·new·RuntimeException(exc2); |
69 | ········} | 69 | ········} |
70 | ····} | 70 | ····} |
71 | ···· | 71 | ···· |
72 | ····@Override | 72 | ····@Override |
73 | ····public·final· | 73 | ····public·final·String·getString(final·String·a)·throws·SQLException·{ |
74 | ········try·{ | 74 | ········try·{ |
75 | ············this.maybeDirtyTransaction(); | 75 | ············this.maybeDirtyTransaction(); |
76 | ············return·this.inner.get | 76 | ············return·this.inner.getString(a); |
77 | ········} | 77 | ········} |
78 | ········catch·(final·NullPointerException·exc)·{ | 78 | ········catch·(final·NullPointerException·exc)·{ |
79 | ············if·(this.isDetached())·{ | 79 | ············if·(this.isDetached())·{ |
80 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); | 80 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); |
81 | ············} | 81 | ············} |
82 | ············throw·exc; | 82 | ············throw·exc; |
83 | ········} | 83 | ········} |
Offset 86, 18 lines modified | Offset 86, 18 lines modified | ||
86 | ················throw·new·RuntimeException(exc2); | 86 | ················throw·new·RuntimeException(exc2); |
87 | ············} | 87 | ············} |
88 | ············throw·new·RuntimeException(exc2); | 88 | ············throw·new·RuntimeException(exc2); |
89 | ········} | 89 | ········} |
90 | ····} | 90 | ····} |
91 | ···· | 91 | ···· |
92 | ····@Override | 92 | ····@Override |
93 | ····public·final· | 93 | ····public·final·URL·getURL(final·String·a)·throws·SQLException·{ |
94 | ········try·{ | 94 | ········try·{ |
95 | ············this.maybeDirtyTransaction(); | 95 | ············this.maybeDirtyTransaction(); |
96 | ············return·this.inner.get | 96 | ············return·this.inner.getURL(a); |
97 | ········} | 97 | ········} |
98 | ········catch·(final·NullPointerException·exc)·{ | 98 | ········catch·(final·NullPointerException·exc)·{ |
99 | ············if·(this.isDetached())·{ | 99 | ············if·(this.isDetached())·{ |
100 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); | 100 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); |
101 | ············} | 101 | ············} |
102 | ············throw·exc; | 102 | ············throw·exc; |
103 | ········} | 103 | ········} |
Offset 106, 18 lines modified | Offset 106, 18 lines modified | ||
106 | ················throw·new·RuntimeException(exc2); | 106 | ················throw·new·RuntimeException(exc2); |
107 | ············} | 107 | ············} |
108 | ············throw·new·RuntimeException(exc2); | 108 | ············throw·new·RuntimeException(exc2); |
109 | ········} | 109 | ········} |
110 | ····} | 110 | ····} |
111 | ···· | 111 | ···· |
112 | ····@Override | 112 | ····@Override |
113 | ····public·final· | 113 | ····public·final·URL·getURL(final·int·a)·throws·SQLException·{ |
114 | ········try·{ | 114 | ········try·{ |
115 | ············this.maybeDirtyTransaction(); | 115 | ············this.maybeDirtyTransaction(); |
116 | ············return·this.inner.get | 116 | ············return·this.inner.getURL(a); |
117 | ········} | 117 | ········} |
118 | ········catch·(final·NullPointerException·exc)·{ | 118 | ········catch·(final·NullPointerException·exc)·{ |
119 | ············if·(this.isDetached())·{ | 119 | ············if·(this.isDetached())·{ |
120 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); | 120 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); |
121 | ············} | 121 | ············} |
122 | ············throw·exc; | 122 | ············throw·exc; |
123 | ········} | 123 | ········} |
Offset 126, 18 lines modified | Offset 126, 18 lines modified | ||
126 | ················throw·new·RuntimeException(exc2); | 126 | ················throw·new·RuntimeException(exc2); |
127 | ············} | 127 | ············} |
128 | ············throw·new·RuntimeException(exc2); | 128 | ············throw·new·RuntimeException(exc2); |
129 | ········} | 129 | ········} |
130 | ····} | 130 | ····} |
131 | ···· | 131 | ···· |
132 | ····@Override | 132 | ····@Override |
133 | ····public·final· | 133 | ····public·final·void·setURL(final·String·a,·final·URL·b)·throws·SQLException·{ |
134 | ········try·{ | 134 | ········try·{ |
135 | ············this.maybeDirtyTransaction(); | 135 | ············this.maybeDirtyTransaction(); |
136 | ············ | 136 | ············this.inner.setURL(a,·b); |
137 | ········} | 137 | ········} |
138 | ········catch·(final·NullPointerException·exc)·{ | 138 | ········catch·(final·NullPointerException·exc)·{ |
139 | ············if·(this.isDetached())·{ | 139 | ············if·(this.isDetached())·{ |
140 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); | 140 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); |
141 | ············} | 141 | ············} |
142 | ············throw·exc; | 142 | ············throw·exc; |
143 | ········} | 143 | ········} |
Offset 146, 18 lines modified | Offset 146, 18 lines modified | ||
146 | ················throw·new·RuntimeException(exc2); | 146 | ················throw·new·RuntimeException(exc2); |
147 | ············} | 147 | ············} |
148 | ············throw·new·RuntimeException(exc2); | 148 | ············throw·new·RuntimeException(exc2); |
149 | ········} | 149 | ········} |
150 | ····} | 150 | ····} |
151 | ···· | 151 | ···· |
152 | ····@Override | 152 | ····@Override |
Max diff block lines reached; 33934/38704 bytes (87.68%) of diff not shown. |
Offset 18, 16 lines modified | Offset 18, 16 lines modified | ||
18 | import·java.util.Map; | 18 | import·java.util.Map; |
19 | import·java.sql.CallableStatement; | 19 | import·java.sql.CallableStatement; |
20 | import·java.lang.reflect.Method; | 20 | import·java.lang.reflect.Method; |
21 | import·com.mchange.v2.util.ResourceClosedException; | 21 | import·com.mchange.v2.util.ResourceClosedException; |
22 | import·com.mchange.v2.log.MLevel; | 22 | import·com.mchange.v2.log.MLevel; |
23 | import·java.sql.PreparedStatement; | 23 | import·java.sql.PreparedStatement; |
24 | import·java.sql.Statement; | 24 | import·java.sql.Statement; |
25 | import·java.util.concurrent.Executor; | ||
26 | import·java.sql.SQLException; | 25 | import·java.sql.SQLException; |
26 | import·java.util.concurrent.Executor; | ||
27 | import·javax.sql.ConnectionEventListener; | 27 | import·javax.sql.ConnectionEventListener; |
28 | import·com.mchange.v2.log.MLogger; | 28 | import·com.mchange.v2.log.MLogger; |
29 | import·java.sql.DatabaseMetaData; | 29 | import·java.sql.DatabaseMetaData; |
30 | import·com.mchange.v2.c3p0.C3P0ProxyConnection; | 30 | import·com.mchange.v2.c3p0.C3P0ProxyConnection; |
31 | import·java.sql.Connection; | 31 | import·java.sql.Connection; |
32 | public·final·class·NewProxyConnection·implements·Connection,·C3P0ProxyConnection | 32 | public·final·class·NewProxyConnection·implements·Connection,·C3P0ProxyConnection |
Offset 43, 18 lines modified | Offset 43, 18 lines modified | ||
43 | ········this.txn_known_resolved·=·true; | 43 | ········this.txn_known_resolved·=·true; |
44 | ········this.metaData·=·null; | 44 | ········this.metaData·=·null; |
45 | ········this.cel·=·(ConnectionEventListener)new·NewProxyConnection.NewProxyConnection$1(this); | 45 | ········this.cel·=·(ConnectionEventListener)new·NewProxyConnection.NewProxyConnection$1(this); |
46 | ········this.inner·=·inner; | 46 | ········this.inner·=·inner; |
47 | ····} | 47 | ····} |
48 | ···· | 48 | ···· |
49 | ····@Override | 49 | ····@Override |
50 | ····public·synchronized·void· | 50 | ····public·synchronized·void·abort(final·Executor·a)·throws·SQLException·{ |
51 | ········try·{ | 51 | ········try·{ |
52 | ············this.txn_known_resolved·=·false; | ||
52 | ············this.inner. | 53 | ············this.inner.abort(a); |
53 | ············this.parentPooledConnection.markNewReadOnly(a); | ||
54 | ········} | 54 | ········} |
55 | ········catch·(final·NullPointerException·exc)·{ | 55 | ········catch·(final·NullPointerException·exc)·{ |
56 | ············if·(this.isDetached())·{ | 56 | ············if·(this.isDetached())·{ |
57 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Connection!!!",·exc); | 57 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Connection!!!",·exc); |
58 | ············} | 58 | ············} |
59 | ············throw·exc; | 59 | ············throw·exc; |
60 | ········} | 60 | ········} |
Offset 63, 61 lines modified | Offset 63, 61 lines modified | ||
63 | ················throw·new·RuntimeException(exc2); | 63 | ················throw·new·RuntimeException(exc2); |
64 | ············} | 64 | ············} |
65 | ············throw·new·RuntimeException(exc2); | 65 | ············throw·new·RuntimeException(exc2); |
66 | ········} | 66 | ········} |
67 | ····} | 67 | ····} |
68 | ···· | 68 | ···· |
69 | ····@Override | 69 | ····@Override |
70 | ····public·synchronized·void· | 70 | ····public·synchronized·void·setReadOnly(final·boolean·a)·throws·SQLException·{ |
71 | ········try·{ | 71 | ········try·{ |
72 | ············this.inner.setReadOnly(a); | ||
73 | ············this.parentPooledConnection.markNewReadOnly(a); | ||
72 | ············if·(!this.isDetached())·{ | ||
73 | ················final·NewPooledConnection·npc·=·this.parentPooledConnection; | ||
74 | ················this.detach(); | ||
75 | ················npc.markClosedProxyConnection(this,·this.txn_known_resolved); | ||
76 | ················this.inner·=·null; | ||
77 | ············} | ||
78 | ········} | 74 | ········} |
79 | ········catch·(final·NullPointerException·exc)·{ | 75 | ········catch·(final·NullPointerException·exc)·{ |
80 | ············if·( | 76 | ············if·(this.isDetached())·{ |
81 | ················throw·exc; | 77 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Connection!!!",·exc); |
82 | ············} | 78 | ············} |
79 | ············throw·exc; | ||
83 | ········} | 80 | ········} |
84 | ········catch·(final·Exception·exc2)·{ | 81 | ········catch·(final·Exception·exc2)·{ |
85 | ············if·(!this.isDetached())·{ | 82 | ············if·(!this.isDetached())·{ |
86 | ················throw·new·RuntimeException(exc2); | 83 | ················throw·new·RuntimeException(exc2); |
87 | ············} | 84 | ············} |
88 | ············throw·new·RuntimeException(exc2); | 85 | ············throw·new·RuntimeException(exc2); |
89 | ········} | 86 | ········} |
90 | ····} | 87 | ····} |
91 | ···· | 88 | ···· |
92 | ····@Override | 89 | ····@Override |
93 | ····public·synchronized· | 90 | ····public·synchronized·void·close()·throws·SQLException·{ |
94 | ········try·{ | 91 | ········try·{ |
95 | ············this.txn_known_resolved·=·false; | ||
96 | ············ | 92 | ············if·(!this.isDetached())·{ |
93 | ················final·NewPooledConnection·npc·=·this.parentPooledConnection; | ||
94 | ················this.detach(); | ||
95 | ················npc.markClosedProxyConnection(this,·this.txn_known_resolved); | ||
96 | ················this.inner·=·null; | ||
97 | ············} | ||
97 | ········} | 98 | ········} |
98 | ········catch·(final·NullPointerException·exc)·{ | 99 | ········catch·(final·NullPointerException·exc)·{ |
99 | ············if·(this.isDetached())·{ | 100 | ············if·(!this.isDetached())·{ |
100 | ················throw· | 101 | ················throw·exc; |
101 | ············} | 102 | ············} |
102 | ············throw·exc; | ||
103 | ········} | 103 | ········} |
104 | ········catch·(final·Exception·exc2)·{ | 104 | ········catch·(final·Exception·exc2)·{ |
105 | ············if·(!this.isDetached())·{ | 105 | ············if·(!this.isDetached())·{ |
106 | ················throw·new·RuntimeException(exc2); | 106 | ················throw·new·RuntimeException(exc2); |
107 | ············} | 107 | ············} |
108 | ············throw·new·RuntimeException(exc2); | 108 | ············throw·new·RuntimeException(exc2); |
109 | ········} | 109 | ········} |
110 | ····} | 110 | ····} |
111 | ···· | 111 | ···· |
112 | ····@Override | 112 | ····@Override |
113 | ····public·synchronized· | 113 | ····public·synchronized·boolean·isReadOnly()·throws·SQLException·{ |
114 | ········try·{ | 114 | ········try·{ |
115 | ············this.txn_known_resolved·=·false; | 115 | ············this.txn_known_resolved·=·false; |
116 | ············this.inner.a | 116 | ············return·this.inner.isReadOnly(); |
117 | ········} | 117 | ········} |
118 | ········catch·(final·NullPointerException·exc)·{ | 118 | ········catch·(final·NullPointerException·exc)·{ |
119 | ············if·(this.isDetached())·{ | 119 | ············if·(this.isDetached())·{ |
120 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Connection!!!",·exc); | 120 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Connection!!!",·exc); |
121 | ············} | 121 | ············} |
122 | ············throw·exc; | 122 | ············throw·exc; |
123 | ········} | 123 | ········} |
Offset 126, 18 lines modified | Offset 126, 18 lines modified | ||
126 | ················throw·new·RuntimeException(exc2); | 126 | ················throw·new·RuntimeException(exc2); |
127 | ············} | 127 | ············} |
128 | ············throw·new·RuntimeException(exc2); | 128 | ············throw·new·RuntimeException(exc2); |
129 | ········} | 129 | ········} |
130 | ····} | 130 | ····} |
131 | ···· | 131 | ···· |
132 | ····@Override | 132 | ····@Override |
133 | ····public·synchronized·Statement·createStatement()·throws·SQLException·{ | 133 | ····public·synchronized·Statement·createStatement(final·int·a,·final·int·b)·throws·SQLException·{ |
134 | ········try·{ | 134 | ········try·{ |
135 | ············this.txn_known_resolved·=·false; | 135 | ············this.txn_known_resolved·=·false; |
136 | ············final·Statement·innerStmt·=·this.inner.createStatement(); | 136 | ············final·Statement·innerStmt·=·this.inner.createStatement(a,·b); |
137 | ············this.parentPooledConnection.markActiveUncachedStatement(innerStmt); | 137 | ············this.parentPooledConnection.markActiveUncachedStatement(innerStmt); |
138 | ············return·(Statement)new·NewProxyStatement(innerStmt,·this.parentPooledConnection,·false,·this); | 138 | ············return·(Statement)new·NewProxyStatement(innerStmt,·this.parentPooledConnection,·false,·this); |
139 | ········} | 139 | ········} |
140 | ········catch·(final·NullPointerException·exc)·{ | 140 | ········catch·(final·NullPointerException·exc)·{ |
141 | ············if·(this.isDetached())·{ | 141 | ············if·(this.isDetached())·{ |
142 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Connection!!!",·exc); | 142 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Connection!!!",·exc); |
143 | ············} | 143 | ············} |
Offset 148, 18 lines modified | Offset 148, 18 lines modified | ||
Max diff block lines reached; 937/6271 bytes (14.94%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | package·com.mchange.v2.c3p0.impl; | 1 | package·com.mchange.v2.c3p0.impl; |
2 | import·com.mchange.v2.log.MLog; | 2 | import·com.mchange.v2.log.MLog; |
3 | import·java.sql.RowIdLifetime; | 3 | import·java.sql.RowIdLifetime; |
4 | import·java.sql.Connection; | 4 | import·java.sql.Connection; |
5 | import·java.sql.SQLException; | ||
6 | import·java.sql.ResultSet; | 5 | import·java.sql.ResultSet; |
6 | import·java.sql.SQLException; | ||
7 | import·javax.sql.ConnectionEventListener; | 7 | import·javax.sql.ConnectionEventListener; |
8 | import·com.mchange.v2.log.MLogger; | 8 | import·com.mchange.v2.log.MLogger; |
9 | import·java.sql.DatabaseMetaData; | 9 | import·java.sql.DatabaseMetaData; |
10 | public·final·class·NewProxyDatabaseMetaData·implements·DatabaseMetaData | 10 | public·final·class·NewProxyDatabaseMetaData·implements·DatabaseMetaData |
11 | { | 11 | { |
12 | ····protected·DatabaseMetaData·inner; | 12 | ····protected·DatabaseMetaData·inner; |
Offset 20, 21 lines modified | Offset 20, 17 lines modified | ||
20 | ···· | 20 | ···· |
21 | ····public·NewProxyDatabaseMetaData(final·DatabaseMetaData·inner)·{ | 21 | ····public·NewProxyDatabaseMetaData(final·DatabaseMetaData·inner)·{ |
22 | ········this.cel·=·(ConnectionEventListener)new·NewProxyDatabaseMetaData.NewProxyDatabaseMetaData$1(this); | 22 | ········this.cel·=·(ConnectionEventListener)new·NewProxyDatabaseMetaData.NewProxyDatabaseMetaData$1(this); |
23 | ········this.inner·=·inner; | 23 | ········this.inner·=·inner; |
24 | ····} | 24 | ····} |
25 | ···· | 25 | ···· |
26 | ····@Override | 26 | ····@Override |
27 | ····public·final· | 27 | ····public·final·String·getURL()·throws·SQLException·{ |
28 | ········try·{ | 28 | ········try·{ |
29 | ············return·this.inner.getURL(); | ||
29 | ············final·ResultSet·innerResultSet·=·this.inner.getAttributes(a,·b,·c,·d); | ||
30 | ············if·(innerResultSet·==·null)·{ | ||
31 | ················return·null; | ||
32 | ············} | ||
33 | ············return·(ResultSet)new·NewProxyResultSet(innerResultSet,·this.parentPooledConnection,·(Object)this.inner,·(Object)this); | ||
34 | ········} | 30 | ········} |
35 | ········catch·(final·NullPointerException·exc)·{ | 31 | ········catch·(final·NullPointerException·exc)·{ |
36 | ············if·(this.isDetached())·{ | 32 | ············if·(this.isDetached())·{ |
37 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·DatabaseMetaData!!!",·exc); | 33 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·DatabaseMetaData!!!",·exc); |
38 | ············} | 34 | ············} |
39 | ············throw·exc; | 35 | ············throw·exc; |
40 | ········} | 36 | ········} |
Offset 43, 17 lines modified | Offset 39, 21 lines modified | ||
43 | ················throw·new·RuntimeException(exc2); | 39 | ················throw·new·RuntimeException(exc2); |
44 | ············} | 40 | ············} |
45 | ············throw·new·RuntimeException(exc2); | 41 | ············throw·new·RuntimeException(exc2); |
46 | ········} | 42 | ········} |
47 | ····} | 43 | ····} |
48 | ···· | 44 | ···· |
49 | ····@Override | 45 | ····@Override |
50 | ····public·final·b | 46 | ····public·final·ResultSet·getAttributes(final·String·a,·final·String·b,·final·String·c,·final·String·d)·throws·SQLException·{ |
51 | ········try·{ | 47 | ········try·{ |
52 | ············ret | 48 | ············final·ResultSet·innerResultSet·=·this.inner.getAttributes(a,·b,·c,·d); |
49 | ············if·(innerResultSet·==·null)·{ | ||
50 | ················return·null; | ||
51 | ············} | ||
52 | ············return·(ResultSet)new·NewProxyResultSet(innerResultSet,·this.parentPooledConnection,·(Object)this.inner,·(Object)this); | ||
53 | ········} | 53 | ········} |
54 | ········catch·(final·NullPointerException·exc)·{ | 54 | ········catch·(final·NullPointerException·exc)·{ |
55 | ············if·(this.isDetached())·{ | 55 | ············if·(this.isDetached())·{ |
56 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·DatabaseMetaData!!!",·exc); | 56 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·DatabaseMetaData!!!",·exc); |
57 | ············} | 57 | ············} |
58 | ············throw·exc; | 58 | ············throw·exc; |
59 | ········} | 59 | ········} |
Offset 62, 17 lines modified | Offset 62, 17 lines modified | ||
62 | ················throw·new·RuntimeException(exc2); | 62 | ················throw·new·RuntimeException(exc2); |
63 | ············} | 63 | ············} |
64 | ············throw·new·RuntimeException(exc2); | 64 | ············throw·new·RuntimeException(exc2); |
65 | ········} | 65 | ········} |
66 | ····} | 66 | ····} |
67 | ···· | 67 | ···· |
68 | ····@Override | 68 | ····@Override |
69 | ····public·final· | 69 | ····public·final·boolean·isReadOnly()·throws·SQLException·{ |
70 | ········try·{ | 70 | ········try·{ |
71 | ············return·this.inner. | 71 | ············return·this.inner.isReadOnly(); |
72 | ········} | 72 | ········} |
73 | ········catch·(final·NullPointerException·exc)·{ | 73 | ········catch·(final·NullPointerException·exc)·{ |
74 | ············if·(this.isDetached())·{ | 74 | ············if·(this.isDetached())·{ |
75 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·DatabaseMetaData!!!",·exc); | 75 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·DatabaseMetaData!!!",·exc); |
76 | ············} | 76 | ············} |
77 | ············throw·exc; | 77 | ············throw·exc; |
78 | ········} | 78 | ········} |
Offset 20, 19 lines modified | Offset 20, 19 lines modified | ||
20 | import·java.io.InputStream; | 20 | import·java.io.InputStream; |
21 | import·java.sql.Time; | 21 | import·java.sql.Time; |
22 | import·java.sql.Date; | 22 | import·java.sql.Date; |
23 | import·java.math.BigDecimal; | 23 | import·java.math.BigDecimal; |
24 | import·java.sql.Statement; | 24 | import·java.sql.Statement; |
25 | import·java.sql.ResultSet; | 25 | import·java.sql.ResultSet; |
26 | import·java.sql.ResultSetMetaData; | 26 | import·java.sql.ResultSetMetaData; |
27 | import·java.sql.Array; | ||
28 | import·java.net.URL; | ||
29 | import·java.util.Calendar; | 27 | import·java.util.Calendar; |
30 | import·java.sql.Timestamp; | 28 | import·java.sql.Timestamp; |
29 | import·java.sql.Array; | ||
31 | import·java.sql.SQLException; | 30 | import·java.sql.SQLException; |
31 | import·java.net.URL; | ||
32 | import·javax.sql.ConnectionEventListener; | 32 | import·javax.sql.ConnectionEventListener; |
33 | import·com.mchange.v2.log.MLogger; | 33 | import·com.mchange.v2.log.MLogger; |
34 | import·com.mchange.v2.c3p0.C3P0ProxyStatement; | 34 | import·com.mchange.v2.c3p0.C3P0ProxyStatement; |
35 | import·java.sql.PreparedStatement; | 35 | import·java.sql.PreparedStatement; |
36 | public·final·class·NewProxyPreparedStatement·implements·PreparedStatement,·C3P0ProxyStatement | 36 | public·final·class·NewProxyPreparedStatement·implements·PreparedStatement,·C3P0ProxyStatement |
37 | { | 37 | { |
Offset 45, 18 lines modified | Offset 45, 18 lines modified | ||
45 | ···· | 45 | ···· |
46 | ····public·NewProxyPreparedStatement(final·PreparedStatement·inner)·{ | 46 | ····public·NewProxyPreparedStatement(final·PreparedStatement·inner)·{ |
47 | ········this.cel·=·(ConnectionEventListener)new·NewProxyPreparedStatement.NewProxyPreparedStatement$1(this); | 47 | ········this.cel·=·(ConnectionEventListener)new·NewProxyPreparedStatement.NewProxyPreparedStatement$1(this); |
48 | ········this.inner·=·inner; | 48 | ········this.inner·=·inner; |
49 | ····} | 49 | ····} |
50 | ···· | 50 | ···· |
51 | ····@Override | 51 | ····@Override |
52 | ····public·final· | 52 | ····public·final·void·setURL(final·int·a,·final·URL·b)·throws·SQLException·{ |
53 | ········try·{ | 53 | ········try·{ |
54 | ············this.maybeDirtyTransaction(); | 54 | ············this.maybeDirtyTransaction(); |
55 | ············ | 55 | ············this.inner.setURL(a,·b); |
56 | ········} | 56 | ········} |
57 | ········catch·(final·NullPointerException·exc)·{ | 57 | ········catch·(final·NullPointerException·exc)·{ |
58 | ············if·(this.isDetached())·{ | 58 | ············if·(this.isDetached())·{ |
59 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); | 59 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); |
60 | ············} | 60 | ············} |
61 | ············throw·exc; | 61 | ············throw·exc; |
62 | ········} | 62 | ········} |
Offset 65, 18 lines modified | Offset 65, 18 lines modified | ||
65 | ················throw·new·RuntimeException(exc2); | 65 | ················throw·new·RuntimeException(exc2); |
66 | ············} | 66 | ············} |
67 | ············throw·new·RuntimeException(exc2); | 67 | ············throw·new·RuntimeException(exc2); |
68 | ········} | 68 | ········} |
69 | ····} | 69 | ····} |
70 | ···· | 70 | ···· |
71 | ····@Override | 71 | ····@Override |
72 | ····public·final·void·set | 72 | ····public·final·void·setArray(final·int·a,·final·Array·b)·throws·SQLException·{ |
73 | ········try·{ | 73 | ········try·{ |
74 | ············this.maybeDirtyTransaction(); | 74 | ············this.maybeDirtyTransaction(); |
75 | ············this.inner.set | 75 | ············this.inner.setArray(a,·b); |
76 | ········} | 76 | ········} |
77 | ········catch·(final·NullPointerException·exc)·{ | 77 | ········catch·(final·NullPointerException·exc)·{ |
78 | ············if·(this.isDetached())·{ | 78 | ············if·(this.isDetached())·{ |
79 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); | 79 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); |
80 | ············} | 80 | ············} |
81 | ············throw·exc; | 81 | ············throw·exc; |
82 | ········} | 82 | ········} |
Offset 85, 18 lines modified | Offset 85, 18 lines modified | ||
85 | ················throw·new·RuntimeException(exc2); | 85 | ················throw·new·RuntimeException(exc2); |
86 | ············} | 86 | ············} |
87 | ············throw·new·RuntimeException(exc2); | 87 | ············throw·new·RuntimeException(exc2); |
88 | ········} | 88 | ········} |
89 | ····} | 89 | ····} |
90 | ···· | 90 | ···· |
91 | ····@Override | 91 | ····@Override |
92 | ····public·final· | 92 | ····public·final·boolean·execute()·throws·SQLException·{ |
93 | ········try·{ | 93 | ········try·{ |
94 | ············this.maybeDirtyTransaction(); | 94 | ············this.maybeDirtyTransaction(); |
95 | ············this.inner. | 95 | ············return·this.inner.execute(); |
96 | ········} | 96 | ········} |
97 | ········catch·(final·NullPointerException·exc)·{ | 97 | ········catch·(final·NullPointerException·exc)·{ |
98 | ············if·(this.isDetached())·{ | 98 | ············if·(this.isDetached())·{ |
99 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); | 99 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); |
100 | ············} | 100 | ············} |
101 | ············throw·exc; | 101 | ············throw·exc; |
102 | ········} | 102 | ········} |
Offset 105, 18 lines modified | Offset 105, 18 lines modified | ||
105 | ················throw·new·RuntimeException(exc2); | 105 | ················throw·new·RuntimeException(exc2); |
106 | ············} | 106 | ············} |
107 | ············throw·new·RuntimeException(exc2); | 107 | ············throw·new·RuntimeException(exc2); |
108 | ········} | 108 | ········} |
109 | ····} | 109 | ····} |
110 | ···· | 110 | ···· |
111 | ····@Override | 111 | ····@Override |
112 | ····public·final·void·set | 112 | ····public·final·void·setBoolean(final·int·a,·final·boolean·b)·throws·SQLException·{ |
113 | ········try·{ | 113 | ········try·{ |
114 | ············this.maybeDirtyTransaction(); | 114 | ············this.maybeDirtyTransaction(); |
115 | ············this.inner.set | 115 | ············this.inner.setBoolean(a,·b); |
116 | ········} | 116 | ········} |
117 | ········catch·(final·NullPointerException·exc)·{ | 117 | ········catch·(final·NullPointerException·exc)·{ |
118 | ············if·(this.isDetached())·{ | 118 | ············if·(this.isDetached())·{ |
119 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); | 119 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); |
120 | ············} | 120 | ············} |
121 | ············throw·exc; | 121 | ············throw·exc; |
122 | ········} | 122 | ········} |
Offset 125, 18 lines modified | Offset 125, 18 lines modified | ||
125 | ················throw·new·RuntimeException(exc2); | 125 | ················throw·new·RuntimeException(exc2); |
126 | ············} | 126 | ············} |
127 | ············throw·new·RuntimeException(exc2); | 127 | ············throw·new·RuntimeException(exc2); |
128 | ········} | 128 | ········} |
129 | ····} | 129 | ····} |
130 | ···· | 130 | ···· |
131 | ····@Override | 131 | ····@Override |
132 | ····public·final·void·set | 132 | ····public·final·void·setByte(final·int·a,·final·byte·b)·throws·SQLException·{ |
133 | ········try·{ | 133 | ········try·{ |
134 | ············this.maybeDirtyTransaction(); | 134 | ············this.maybeDirtyTransaction(); |
135 | ············this.inner.set | 135 | ············this.inner.setByte(a,·b); |
136 | ········} | 136 | ········} |
137 | ········catch·(final·NullPointerException·exc)·{ | 137 | ········catch·(final·NullPointerException·exc)·{ |
138 | ············if·(this.isDetached())·{ | 138 | ············if·(this.isDetached())·{ |
139 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); | 139 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc); |
140 | ············} | 140 | ············} |
141 | ············throw·exc; | 141 | ············throw·exc; |
142 | ········} | 142 | ········} |
Offset 145, 18 lines modified | Offset 145, 18 lines modified | ||
145 | ················throw·new·RuntimeException(exc2); | 145 | ················throw·new·RuntimeException(exc2); |
146 | ············} | 146 | ············} |
147 | ············throw·new·RuntimeException(exc2); | 147 | ············throw·new·RuntimeException(exc2); |
148 | ········} | 148 | ········} |
149 | ····} | 149 | ····} |
150 | ···· | 150 | ···· |
151 | ····@Override | 151 | ····@Override |
152 | ····public·final·void·set | 152 | ····public·final·void·setShort(final·int·a,·final·short·b)·throws·SQLException·{ |
153 | ········try·{ | 153 | ········try·{ |
154 | ············this.maybeDirtyTransaction(); | 154 | ············this.maybeDirtyTransaction(); |
Max diff block lines reached; 4676/9485 bytes (49.30%) of diff not shown. |
Offset 13, 21 lines modified | Offset 13, 21 lines modified | ||
13 | import·java.sql.Timestamp; | 13 | import·java.sql.Timestamp; |
14 | import·java.sql.Time; | 14 | import·java.sql.Time; |
15 | import·java.sql.Date; | 15 | import·java.sql.Date; |
16 | import·java.util.Calendar; | 16 | import·java.util.Calendar; |
17 | import·java.math.BigDecimal; | 17 | import·java.math.BigDecimal; |
18 | import·java.sql.SQLWarning; | 18 | import·java.sql.SQLWarning; |
19 | import·java.sql.ResultSetMetaData; | 19 | import·java.sql.ResultSetMetaData; |
20 | import·java.net.URL; | ||
21 | import·java.sql.Array; | ||
22 | import·java.sql.Ref; | 20 | import·java.sql.Ref; |
23 | import·java.sql.Connection; | 21 | import·java.sql.Connection; |
24 | import·java.sql.DatabaseMetaData; | 22 | import·java.sql.DatabaseMetaData; |
25 | import·java.sql.Statement; | 23 | import·java.sql.Statement; |
26 | import·java.util.Map; | 24 | import·java.util.Map; |
25 | import·java.sql.Array; | ||
26 | import·java.net.URL; | ||
27 | import·java.sql.SQLException; | 27 | import·java.sql.SQLException; |
28 | import·javax.sql.ConnectionEventListener; | 28 | import·javax.sql.ConnectionEventListener; |
29 | import·com.mchange.v2.log.MLogger; | 29 | import·com.mchange.v2.log.MLogger; |
30 | import·java.sql.ResultSet; | 30 | import·java.sql.ResultSet; |
31 | public·final·class·NewProxyResultSet·implements·ResultSet | 31 | public·final·class·NewProxyResultSet·implements·ResultSet |
32 | { | 32 | { |
Offset 41, 20 lines modified | Offset 41, 20 lines modified | ||
41 | ···· | 41 | ···· |
42 | ····public·NewProxyResultSet(final·ResultSet·inner)·{ | 42 | ····public·NewProxyResultSet(final·ResultSet·inner)·{ |
43 | ········this.cel·=·(ConnectionEventListener)new·NewProxyResultSet.NewProxyResultSet$1(this); | 43 | ········this.cel·=·(ConnectionEventListener)new·NewProxyResultSet.NewProxyResultSet$1(this); |
44 | ········this.inner·=·inner; | 44 | ········this.inner·=·inner; |
45 | ····} | 45 | ····} |
46 | ···· | 46 | ···· |
47 | ····@Override | 47 | ····@Override |
48 | ····public·final· | 48 | ····public·final·String·getString(final·String·a)·throws·SQLException·{ |
49 | ········try·{ | 49 | ········try·{ |
50 | ············if·(this.proxyConn·!=·null)·{ | 50 | ············if·(this.proxyConn·!=·null)·{ |
51 | ················this.proxyConn.maybeDirtyTransaction(); | 51 | ················this.proxyConn.maybeDirtyTransaction(); |
52 | ············} | 52 | ············} |
53 | ············this.inner. | 53 | ············return·this.inner.getString(a); |
54 | ········} | 54 | ········} |
55 | ········catch·(final·NullPointerException·exc)·{ | 55 | ········catch·(final·NullPointerException·exc)·{ |
56 | ············if·(this.isDetached())·{ | 56 | ············if·(this.isDetached())·{ |
57 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·ResultSet!!!",·exc); | 57 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·ResultSet!!!",·exc); |
58 | ············} | 58 | ············} |
59 | ············throw·exc; | 59 | ············throw·exc; |
60 | ········} | 60 | ········} |
Offset 63, 20 lines modified | Offset 63, 20 lines modified | ||
63 | ················throw·new·RuntimeException(exc2); | 63 | ················throw·new·RuntimeException(exc2); |
64 | ············} | 64 | ············} |
65 | ············throw·new·RuntimeException(exc2); | 65 | ············throw·new·RuntimeException(exc2); |
66 | ········} | 66 | ········} |
67 | ····} | 67 | ····} |
68 | ···· | 68 | ···· |
69 | ····@Override | 69 | ····@Override |
70 | ····public·final· | 70 | ····public·final·String·getString(final·int·a)·throws·SQLException·{ |
71 | ········try·{ | 71 | ········try·{ |
72 | ············if·(this.proxyConn·!=·null)·{ | 72 | ············if·(this.proxyConn·!=·null)·{ |
73 | ················this.proxyConn.maybeDirtyTransaction(); | 73 | ················this.proxyConn.maybeDirtyTransaction(); |
74 | ············} | 74 | ············} |
75 | ············this.inner. | 75 | ············return·this.inner.getString(a); |
76 | ········} | 76 | ········} |
77 | ········catch·(final·NullPointerException·exc)·{ | 77 | ········catch·(final·NullPointerException·exc)·{ |
78 | ············if·(this.isDetached())·{ | 78 | ············if·(this.isDetached())·{ |
79 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·ResultSet!!!",·exc); | 79 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·ResultSet!!!",·exc); |
80 | ············} | 80 | ············} |
81 | ············throw·exc; | 81 | ············throw·exc; |
82 | ········} | 82 | ········} |
Offset 85, 20 lines modified | Offset 85, 20 lines modified | ||
85 | ················throw·new·RuntimeException(exc2); | 85 | ················throw·new·RuntimeException(exc2); |
86 | ············} | 86 | ············} |
87 | ············throw·new·RuntimeException(exc2); | 87 | ············throw·new·RuntimeException(exc2); |
88 | ········} | 88 | ········} |
89 | ····} | 89 | ····} |
90 | ···· | 90 | ···· |
91 | ····@Override | 91 | ····@Override |
92 | ····public·final· | 92 | ····public·final·URL·getURL(final·String·a)·throws·SQLException·{ |
93 | ········try·{ | 93 | ········try·{ |
94 | ············if·(this.proxyConn·!=·null)·{ | 94 | ············if·(this.proxyConn·!=·null)·{ |
95 | ················this.proxyConn.maybeDirtyTransaction(); | 95 | ················this.proxyConn.maybeDirtyTransaction(); |
96 | ············} | 96 | ············} |
97 | ············return·this.inner.get | 97 | ············return·this.inner.getURL(a); |
98 | ········} | 98 | ········} |
99 | ········catch·(final·NullPointerException·exc)·{ | 99 | ········catch·(final·NullPointerException·exc)·{ |
100 | ············if·(this.isDetached())·{ | 100 | ············if·(this.isDetached())·{ |
101 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·ResultSet!!!",·exc); | 101 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·ResultSet!!!",·exc); |
102 | ············} | 102 | ············} |
103 | ············throw·exc; | 103 | ············throw·exc; |
104 | ········} | 104 | ········} |
Offset 107, 20 lines modified | Offset 107, 20 lines modified | ||
107 | ················throw·new·RuntimeException(exc2); | 107 | ················throw·new·RuntimeException(exc2); |
108 | ············} | 108 | ············} |
109 | ············throw·new·RuntimeException(exc2); | 109 | ············throw·new·RuntimeException(exc2); |
110 | ········} | 110 | ········} |
111 | ····} | 111 | ····} |
112 | ···· | 112 | ···· |
113 | ····@Override | 113 | ····@Override |
114 | ····public·final· | 114 | ····public·final·URL·getURL(final·int·a)·throws·SQLException·{ |
115 | ········try·{ | 115 | ········try·{ |
116 | ············if·(this.proxyConn·!=·null)·{ | 116 | ············if·(this.proxyConn·!=·null)·{ |
117 | ················this.proxyConn.maybeDirtyTransaction(); | 117 | ················this.proxyConn.maybeDirtyTransaction(); |
118 | ············} | 118 | ············} |
119 | ············return·this.inner.get | 119 | ············return·this.inner.getURL(a); |
120 | ········} | 120 | ········} |
121 | ········catch·(final·NullPointerException·exc)·{ | 121 | ········catch·(final·NullPointerException·exc)·{ |
122 | ············if·(this.isDetached())·{ | 122 | ············if·(this.isDetached())·{ |
123 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·ResultSet!!!",·exc); | 123 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·ResultSet!!!",·exc); |
124 | ············} | 124 | ············} |
125 | ············throw·exc; | 125 | ············throw·exc; |
126 | ········} | 126 | ········} |
Offset 129, 20 lines modified | Offset 129, 20 lines modified | ||
129 | ················throw·new·RuntimeException(exc2); | 129 | ················throw·new·RuntimeException(exc2); |
130 | ············} | 130 | ············} |
131 | ············throw·new·RuntimeException(exc2); | 131 | ············throw·new·RuntimeException(exc2); |
132 | ········} | 132 | ········} |
133 | ····} | 133 | ····} |
134 | ···· | 134 | ···· |
135 | ····@Override | 135 | ····@Override |
136 | ····public·final· | 136 | ····public·final·Array·getArray(final·String·a)·throws·SQLException·{ |
137 | ········try·{ | 137 | ········try·{ |
138 | ············if·(this.proxyConn·!=·null)·{ | 138 | ············if·(this.proxyConn·!=·null)·{ |
139 | ················this.proxyConn.maybeDirtyTransaction(); | 139 | ················this.proxyConn.maybeDirtyTransaction(); |
140 | ············} | 140 | ············} |
141 | ············return·this.inner.get | 141 | ············return·this.inner.getArray(a); |
142 | ········} | 142 | ········} |
143 | ········catch·(final·NullPointerException·exc)·{ | 143 | ········catch·(final·NullPointerException·exc)·{ |
144 | ············if·(this.isDetached())·{ | 144 | ············if·(this.isDetached())·{ |
145 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·ResultSet!!!",·exc); | 145 | ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·ResultSet!!!",·exc); |
146 | ············} | 146 | ············} |
147 | ············throw·exc; | 147 | ············throw·exc; |
Max diff block lines reached; 70267/74927 bytes (93.78%) of diff not shown. |