569 KB
/srv/reproducible-results/rbuild-debian/r-b-build.Eutfr7n6/b1/c3p0_0.9.1.2-10_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.Eutfr7n6/b2/c3p0_0.9.1.2-10_i386.changes
295 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·30ec2b72a7b84eea543ebf0fbb9fcc2b·126804·doc·optional·libc3p0-java-doc_0.9.1.2-10_all.deb1 ·30ec2b72a7b84eea543ebf0fbb9fcc2b·126804·doc·optional·libc3p0-java-doc_0.9.1.2-10_all.deb
2 ·fde0b17e37100e94b8d60a74f68bb0f6·607424·java·optional·libc3p0-java_0.9.1.2-10_all.deb2 ·7f75f54e7f11b9b75eb56e80bafd869a·607396·java·optional·libc3p0-java_0.9.1.2-10_all.deb
568 KB
libc3p0-java_0.9.1.2-10_all.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2018-12-25·14:16:25.000000·debian-binary1 -rw-r--r--···0········0········0········4·2018-12-25·14:16:25.000000·debian-binary
2 -rw-r--r--···0········0········0······808·2018-12-25·14:16:25.000000·control.tar.xz2 -rw-r--r--···0········0········0······808·2018-12-25·14:16:25.000000·control.tar.xz
3 -rw-r--r--···0········0········0···606424·2018-12-25·14:16:25.000000·data.tar.xz3 -rw-r--r--···0········0········0···606396·2018-12-25·14:16:25.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
568 KB
data.tar.xz
568 KB
data.tar
1.93 KB
file list
    
Offset 3, 15 lines modifiedOffset 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)·····1010·2018-12-25·14:16:25.000000·./usr/share/doc/libc3p0-java/changelog.Debian.gz6 -rw-r--r--···0·root·········(0)·root·········(0)·····1010·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.gz7 -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/copyright8 -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)···637109·2018-12-25·14:16:25.000000·./usr/share/java/c3p0-0.9.1.2.jar10 -rw-r--r--···0·root·········(0)·root·········(0)···637242·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.pom15 -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.pom17 -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
566 KB
./usr/share/java/c3p0-0.9.1.2.jar
4.18 KB
zipinfo {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 Zip·file·size:·637109·bytes,·number·of·entries:·4341 Zip·file·size:·637242·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······343·b-·defN·18-Dec-25·14:16·META-INF/MANIFEST.MF3 -rw-r--r--··2.0·unx······343·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.class6 -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.class8 -rw-r--r--··2.0·unx·····2589·b-·defN·18-Dec-25·14:16·com/mchange/lang/ByteUtils.class
Offset 167, 23 lines modifiedOffset 167, 23 lines modified
167 -rw-r--r--··2.0·unx·····1662·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/IdentityTokenizedCoalesceChecker.class167 -rw-r--r--··2.0·unx·····1662·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/IdentityTokenizedCoalesceChecker.class
168 -rw-r--r--··2.0·unx······386·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/InternalPooledConnection.class168 -rw-r--r--··2.0·unx······386·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/InternalPooledConnection.class
169 -rw-r--r--··2.0·unx·····8361·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/JndiRefDataSourceBase.class169 -rw-r--r--··2.0·unx·····8361·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/JndiRefDataSourceBase.class
170 -rw-r--r--··2.0·unx····19071·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewPooledConnection.class170 -rw-r--r--··2.0·unx····19071·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewPooledConnection.class
171 -rw-r--r--··2.0·unx······943·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyCallableStatement$1.class171 -rw-r--r--··2.0·unx······943·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyCallableStatement$1.class
172 -rw-r--r--··2.0·unx····77245·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyCallableStatement.class172 -rw-r--r--··2.0·unx····77245·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyCallableStatement.class
173 -rw-r--r--··2.0·unx······901·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyConnection$1.class173 -rw-r--r--··2.0·unx······901·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyConnection$1.class
174 -rw-r--r--··2.0·unx····28466·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyConnection.class174 -rw-r--r--··2.0·unx····28480·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyConnection.class
175 -rw-r--r--··2.0·unx······937·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyDatabaseMetaData$1.class175 -rw-r--r--··2.0·unx······937·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyDatabaseMetaData$1.class
176 -rw-r--r--··2.0·unx····54238·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyDatabaseMetaData.class176 -rw-r--r--··2.0·unx····54238·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyDatabaseMetaData.class
177 -rw-r--r--··2.0·unx······943·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyPreparedStatement$1.class177 -rw-r--r--··2.0·unx······943·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyPreparedStatement$1.class
178 -rw-r--r--··2.0·unx····39957·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyPreparedStatement.class178 -rw-r--r--··2.0·unx····39957·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyPreparedStatement.class
179 -rw-r--r--··2.0·unx······895·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyResultSet$1.class179 -rw-r--r--··2.0·unx······895·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyResultSet$1.class
180 -rw-r--r--··2.0·unx····64934·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyResultSet.class180 -rw-r--r--··2.0·unx····64934·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyResultSet.class
181 -rw-r--r--··2.0·unx······895·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyStatement$1.class181 -rw-r--r--··2.0·unx······895·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyStatement$1.class
182 -rw-r--r--··2.0·unx····21064·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyStatement.class182 -rw-r--r--··2.0·unx····21066·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NewProxyStatement.class
183 -rw-r--r--··2.0·unx······725·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NullStatementSetManagedResultSet.class183 -rw-r--r--··2.0·unx······725·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/NullStatementSetManagedResultSet.class
184 -rw-r--r--··2.0·unx·····8306·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/PoolBackedDataSourceBase.class184 -rw-r--r--··2.0·unx·····8306·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/PoolBackedDataSourceBase.class
185 -rw-r--r--··2.0·unx·····4406·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/SetManagedDatabaseMetaData.class185 -rw-r--r--··2.0·unx·····4406·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/SetManagedDatabaseMetaData.class
186 -rw-r--r--··2.0·unx·····1074·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/SetManagedResultSet.class186 -rw-r--r--··2.0·unx·····1074·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/SetManagedResultSet.class
187 -rw-r--r--··2.0·unx······893·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/SnatchFromSetResultSet.class187 -rw-r--r--··2.0·unx······893·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/SnatchFromSetResultSet.class
188 -rw-r--r--··2.0·unx····19599·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/WrapperConnectionPoolDataSourceBase.class188 -rw-r--r--··2.0·unx····19599·b-·defN·18-Dec-25·14:16·com/mchange/v2/c3p0/impl/WrapperConnectionPoolDataSourceBase.class
189 drwxr-xr-x··2.0·unx········0·b-·stor·18-Dec-25·14:16·com/mchange/v2/c3p0/jboss/189 drwxr-xr-x··2.0·unx········0·b-·stor·18-Dec-25·14:16·com/mchange/v2/c3p0/jboss/
Offset 429, 8 lines modifiedOffset 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.class429 -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.class430 -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.class431 -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.class432 -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.class433 -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.class434 -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.class435 -rw-r--r--··2.0·unx·····1178·b-·defN·18-Dec-25·14:16·com/mchange/v2/util/ResourceClosedException.class
436 434·files,·1482076·bytes·uncompressed,·562639·bytes·compressed:··62.0%436 434·files,·1482092·bytes·uncompressed,·562772·bytes·compressed:··62.0%
179 KB
com/mchange/v2/c3p0/impl/NewProxyCallableStatement.class
179 KB
procyon -ec {}
    
Offset 1, 39 lines modifiedOffset 1, 39 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.lang.reflect.InvocationTargetException;3 import·java.lang.reflect.InvocationTargetException;
4 import·java.lang.reflect.Method;4 import·java.lang.reflect.Method;
5 import·java.sql.SQLWarning; 
6 import·java.sql.Connection;5 import·java.sql.Connection;
7 import·com.mchange.v2.sql.SqlUtils;6 import·com.mchange.v2.sql.SqlUtils;
8 import·com.mchange.v2.log.MLevel;7 import·com.mchange.v2.log.MLevel;
9 import·java.sql.ParameterMetaData;8 import·java.sql.SQLWarning;
10 import·java.sql.Statement;9 import·java.sql.Statement;
11 import·java.sql.ResultSet;10 import·java.sql.ResultSet;
12 import·java.sql.ResultSetMetaData;11 import·java.sql.ResultSetMetaData;
 12 import·java.sql.ParameterMetaData;
 13 import·java.sql.Date;
 14 import·java.sql.Time;
 15 import·java.net.URL;
 16 import·java.sql.Array;
 17 import·java.sql.Ref;
 18 import·java.util.Map;
13 import·java.sql.SQLXML;19 import·java.sql.SQLXML;
14 import·java.sql.NClob;20 import·java.sql.NClob;
15 import·java.sql.RowId;21 import·java.sql.RowId;
16 import·java.sql.Clob;22 import·java.sql.Clob;
17 import·java.sql.Blob;23 import·java.sql.Blob;
18 import·java.io.Reader; 
19 import·java.sql.SQLType;24 import·java.sql.SQLType;
20 import·java.io.InputStream; 
21 import·java.sql.Date; 
22 import·java.sql.Time; 
23 import·java.math.BigDecimal; 
24 import·java.util.Calendar;25 import·java.util.Calendar;
25 import·java.sql.Timestamp;26 import·java.sql.Timestamp;
 27 import·java.math.BigDecimal;
 28 import·java.io.InputStream;
26 import·java.net.URL; 
27 import·java.sql.Array; 
28 import·java.sql.Ref; 
29 import·java.util.Map; 
30 import·java.sql.SQLException;29 import·java.sql.SQLException;
 30 import·java.io.Reader;
31 import·javax.sql.ConnectionEventListener;31 import·javax.sql.ConnectionEventListener;
32 import·com.mchange.v2.log.MLogger;32 import·com.mchange.v2.log.MLogger;
33 import·com.mchange.v2.c3p0.C3P0ProxyStatement;33 import·com.mchange.v2.c3p0.C3P0ProxyStatement;
34 import·java.sql.CallableStatement;34 import·java.sql.CallableStatement;
  
35 public·final·class·NewProxyCallableStatement·implements·CallableStatement,·C3P0ProxyStatement35 public·final·class·NewProxyCallableStatement·implements·CallableStatement,·C3P0ProxyStatement
36 {36 {
Offset 46, 18 lines modifiedOffset 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 ····@Override52 ····@Override
53 ····public·final·boolean·getBoolean(final·int·a)·throws·SQLException·{53 ····public·final·Reader·getCharacterStream(final·int·a)·throws·SQLException·{
54 ········try·{54 ········try·{
55 ············this.maybeDirtyTransaction();55 ············this.maybeDirtyTransaction();
56 ············return·this.inner.getBoolean(a);56 ············return·this.inner.getCharacterStream(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 modifiedOffset 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 ····@Override72 ····@Override
73 ····public·final·boolean·getBoolean(final·String·a)·throws·SQLException·{73 ····public·final·Reader·getCharacterStream(final·String·a)·throws·SQLException·{
74 ········try·{74 ········try·{
75 ············this.maybeDirtyTransaction();75 ············this.maybeDirtyTransaction();
76 ············return·this.inner.getBoolean(a);76 ············return·this.inner.getCharacterStream(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 modifiedOffset 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 ····@Override92 ····@Override
93 ····public·final·byte·getByte(final·int·a)·throws·SQLException·{93 ····public·final·void·setString(final·String·a,·final·String·b)·throws·SQLException·{
94 ········try·{94 ········try·{
95 ············this.maybeDirtyTransaction();95 ············this.maybeDirtyTransaction();
96 ············return·this.inner.getByte(a);96 ············this.inner.setString(a,·b);
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 modifiedOffset 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 ····@Override112 ····@Override
113 ····public·final·byte·getByte(final·String·a)·throws·SQLException·{113 ····public·final·void·setAsciiStream(final·String·a,·final·InputStream·b,·final·int·c)·throws·SQLException·{
114 ········try·{114 ········try·{
115 ············this.maybeDirtyTransaction();115 ············this.maybeDirtyTransaction();
116 ············return·this.inner.getByte(a);116 ············this.inner.setAsciiStream(a,·b,·c);
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 modifiedOffset 126, 18 lines modified
126 ················throw·new·RuntimeException(exc2);126 ················throw·new·RuntimeException(exc2);
Max diff block lines reached; 179048/183601 bytes (97.52%) of diff not shown.
78.8 KB
com/mchange/v2/c3p0/impl/NewProxyConnection.class
78.7 KB
procyon -ec {}
    
Offset 1, 33 lines modifiedOffset 1, 33 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.lang.reflect.InvocationTargetException;3 import·java.lang.reflect.InvocationTargetException;
4 import·java.sql.ResultSet;4 import·java.sql.ResultSet;
 5 import·java.sql.CallableStatement;
 6 import·java.lang.reflect.Method;
 7 import·com.mchange.v2.util.ResourceClosedException;
 8 import·com.mchange.v2.log.MLevel;
 9 import·java.sql.PreparedStatement;
 10 import·java.sql.Statement;
5 import·java.sql.ShardingKey;11 import·java.sql.ShardingKey;
 12 import·java.util.concurrent.Executor;
6 import·java.sql.Struct;13 import·java.sql.Struct;
7 import·java.sql.Array;14 import·java.sql.Array;
8 import·java.sql.SQLClientInfoException;15 import·java.sql.SQLClientInfoException;
9 import·java.util.Properties;16 import·java.util.Properties;
10 import·java.sql.SQLXML;17 import·java.sql.SQLXML;
11 import·java.sql.NClob;18 import·java.sql.NClob;
12 import·java.sql.Blob;19 import·java.sql.Blob;
13 import·java.sql.Clob;20 import·java.sql.Clob;
14 import·java.sql.SQLWarning; 
15 import·java.sql.Savepoint;21 import·java.sql.Savepoint;
16 import·java.util.Map;22 import·java.util.Map;
17 import·java.sql.CallableStatement; 
18 import·java.lang.reflect.Method; 
19 import·com.mchange.v2.util.ResourceClosedException; 
20 import·com.mchange.v2.log.MLevel; 
21 import·java.sql.PreparedStatement; 
22 import·java.sql.Statement; 
23 import·java.util.concurrent.Executor; 
24 import·java.sql.SQLException;23 import·java.sql.SQLException;
 24 import·java.sql.SQLWarning;
25 import·javax.sql.ConnectionEventListener;25 import·javax.sql.ConnectionEventListener;
26 import·com.mchange.v2.log.MLogger;26 import·com.mchange.v2.log.MLogger;
27 import·java.sql.DatabaseMetaData;27 import·java.sql.DatabaseMetaData;
28 import·com.mchange.v2.c3p0.C3P0ProxyConnection;28 import·com.mchange.v2.c3p0.C3P0ProxyConnection;
29 import·java.sql.Connection;29 import·java.sql.Connection;
  
30 public·final·class·NewProxyConnection·implements·Connection,·C3P0ProxyConnection30 public·final·class·NewProxyConnection·implements·Connection,·C3P0ProxyConnection
Offset 43, 18 lines modifiedOffset 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 ····@Override49 ····@Override
50 ····public·synchronized·void·setReadOnly(final·boolean·a)·throws·SQLException·{50 ····public·synchronized·SQLWarning·getWarnings()·throws·SQLException·{
51 ········try·{51 ········try·{
52 ············this.inner.setReadOnly(a); 
53 ············this.parentPooledConnection.markNewReadOnly(a);52 ············this.txn_known_resolved·=·false;
 53 ············return·this.inner.getWarnings();
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, 41 lines modifiedOffset 63, 38 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 ····@Override69 ····@Override
70 ····public·synchronized·void·close()·throws·SQLException·{70 ····public·synchronized·void·clearWarnings()·throws·SQLException·{
71 ········try·{71 ········try·{
 72 ············this.txn_known_resolved·=·false;
 73 ············this.inner.clearWarnings();
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·(!this.isDetached())·{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 ····@Override89 ····@Override
93 ····public·synchronized·boolean·isReadOnly()·throws·SQLException·{90 ····public·synchronized·String·nativeSQL(final·String·a)·throws·SQLException·{
94 ········try·{91 ········try·{
95 ············this.txn_known_resolved·=·false;92 ············this.txn_known_resolved·=·false;
96 ············return·this.inner.isReadOnly();93 ············return·this.inner.nativeSQL(a);
97 ········}94 ········}
98 ········catch·(final·NullPointerException·exc)·{95 ········catch·(final·NullPointerException·exc)·{
99 ············if·(this.isDetached())·{96 ············if·(this.isDetached())·{
100 ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Connection!!!",·exc);97 ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Connection!!!",·exc);
101 ············}98 ············}
102 ············throw·exc;99 ············throw·exc;
103 ········}100 ········}
Offset 106, 18 lines modifiedOffset 103, 18 lines modified
106 ················throw·new·RuntimeException(exc2);103 ················throw·new·RuntimeException(exc2);
107 ············}104 ············}
108 ············throw·new·RuntimeException(exc2);105 ············throw·new·RuntimeException(exc2);
109 ········}106 ········}
110 ····}107 ····}
111 ····108 ····
112 ····@Override109 ····@Override
113 ····public·synchronized·boolean·isValid(final·int·a)·throws·SQLException·{110 ····public·synchronized·boolean·getAutoCommit()·throws·SQLException·{
114 ········try·{111 ········try·{
115 ············this.txn_known_resolved·=·false;112 ············this.txn_known_resolved·=·false;
116 ············return·this.inner.isValid(a);113 ············return·this.inner.getAutoCommit();
117 ········}114 ········}
118 ········catch·(final·NullPointerException·exc)·{115 ········catch·(final·NullPointerException·exc)·{
119 ············if·(this.isDetached())·{116 ············if·(this.isDetached())·{
120 ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Connection!!!",·exc);117 ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Connection!!!",·exc);
121 ············}118 ············}
122 ············throw·exc;119 ············throw·exc;
123 ········}120 ········}
Offset 126, 18 lines modifiedOffset 123, 18 lines modified
126 ················throw·new·RuntimeException(exc2);123 ················throw·new·RuntimeException(exc2);
Max diff block lines reached; 75745/80548 bytes (94.04%) of diff not shown.
10.7 KB
com/mchange/v2/c3p0/impl/NewProxyDatabaseMetaData.class
10.6 KB
procyon -ec {}
    
Offset 1, 15 lines modifiedOffset 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; 
4 import·java.sql.Connection;3 import·java.sql.Connection;
5 import·java.sql.SQLException;4 import·java.sql.RowIdLifetime;
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·DatabaseMetaData10 public·final·class·NewProxyDatabaseMetaData·implements·DatabaseMetaData
11 {11 {
12 ····protected·DatabaseMetaData·inner;12 ····protected·DatabaseMetaData·inner;
Offset 20, 94 lines modifiedOffset 20, 14 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 ····@Override26 ····@Override
27 ····public·final·ResultSet·getAttributes(final·String·a,·final·String·b,·final·String·c,·final·String·d)·throws·SQLException·{ 
28 ········try·{ 
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 ········} 
35 ········catch·(final·NullPointerException·exc)·{ 
36 ············if·(this.isDetached())·{ 
37 ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·DatabaseMetaData!!!",·exc); 
38 ············} 
39 ············throw·exc; 
40 ········} 
41 ········catch·(final·Exception·exc2)·{ 
42 ············if·(!this.isDetached())·{ 
43 ················throw·new·RuntimeException(exc2); 
44 ············} 
45 ············throw·new·RuntimeException(exc2); 
46 ········} 
47 ····} 
48 ···· 
49 ····@Override 
50 ····public·final·boolean·isReadOnly()·throws·SQLException·{ 
51 ········try·{ 
52 ············return·this.inner.isReadOnly(); 
53 ········} 
54 ········catch·(final·NullPointerException·exc)·{ 
55 ············if·(this.isDetached())·{ 
56 ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·DatabaseMetaData!!!",·exc); 
57 ············} 
58 ············throw·exc; 
59 ········} 
60 ········catch·(final·Exception·exc2)·{ 
61 ············if·(!this.isDetached())·{ 
62 ················throw·new·RuntimeException(exc2); 
63 ············} 
64 ············throw·new·RuntimeException(exc2); 
65 ········} 
66 ····} 
67 ···· 
68 ····@Override 
69 ····public·final·String·getURL()·throws·SQLException·{ 
70 ········try·{ 
71 ············return·this.inner.getURL(); 
72 ········} 
73 ········catch·(final·NullPointerException·exc)·{ 
74 ············if·(this.isDetached())·{ 
75 ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·DatabaseMetaData!!!",·exc); 
76 ············} 
77 ············throw·exc; 
78 ········} 
79 ········catch·(final·Exception·exc2)·{ 
80 ············if·(!this.isDetached())·{ 
81 ················throw·new·RuntimeException(exc2); 
82 ············} 
83 ············throw·new·RuntimeException(exc2); 
84 ········} 
85 ····} 
86 ···· 
87 ····@Override 
88 ····public·final·Connection·getConnection()·throws·SQLException·{ 
89 ········try·{ 
90 ············return·(Connection)this.proxyCon; 
91 ········} 
92 ········catch·(final·NullPointerException·exc)·{ 
93 ············if·(this.isDetached())·{ 
94 ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·DatabaseMetaData!!!",·exc); 
95 ············} 
96 ············throw·exc; 
97 ········} 
98 ········catch·(final·Exception·exc2)·{ 
99 ············if·(!this.isDetached())·{ 
100 ················throw·new·RuntimeException(exc2); 
101 ············} 
102 ············throw·new·RuntimeException(exc2); 
103 ········} 
104 ····} 
105 ···· 
106 ····@Override 
107 ····public·final·int·getResultSetHoldability()·throws·SQLException·{27 ····public·final·int·getResultSetHoldability()·throws·SQLException·{
108 ········try·{28 ········try·{
109 ············return·this.inner.getResultSetHoldability();29 ············return·this.inner.getResultSetHoldability();
110 ········}30 ········}
111 ········catch·(final·NullPointerException·exc)·{31 ········catch·(final·NullPointerException·exc)·{
112 ············if·(this.isDetached())·{32 ············if·(this.isDetached())·{
113 ················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);
Offset 756, 17 lines modifiedOffset 676, 17 lines modified
756 ················throw·new·RuntimeException(exc2);676 ················throw·new·RuntimeException(exc2);
757 ············}677 ············}
758 ············throw·new·RuntimeException(exc2);678 ············throw·new·RuntimeException(exc2);
759 ········}679 ········}
760 ····}680 ····}
761 ····681 ····
762 ····@Override682 ····@Override
763 ····public·final·boolean·supportsConvert()·throws·SQLException·{683 ····public·final·boolean·supportsConvert(final·int·a,·final·int·b)·throws·SQLException·{
764 ········try·{684 ········try·{
765 ············return·this.inner.supportsConvert();685 ············return·this.inner.supportsConvert(a,·b);
766 ········}686 ········}
767 ········catch·(final·NullPointerException·exc)·{687 ········catch·(final·NullPointerException·exc)·{
768 ············if·(this.isDetached())·{688 ············if·(this.isDetached())·{
769 ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·DatabaseMetaData!!!",·exc);689 ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·DatabaseMetaData!!!",·exc);
770 ············}690 ············}
Max diff block lines reached; 6296/10867 bytes (57.94%) of diff not shown.
90.0 KB
com/mchange/v2/c3p0/impl/NewProxyPreparedStatement.class
89.9 KB
procyon -ec {}
    
Offset 1, 37 lines modifiedOffset 1, 37 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.lang.reflect.InvocationTargetException;3 import·java.lang.reflect.InvocationTargetException;
4 import·java.lang.reflect.Method;4 import·java.lang.reflect.Method;
5 import·java.sql.SQLWarning; 
6 import·java.sql.Connection;5 import·java.sql.Connection;
7 import·com.mchange.v2.sql.SqlUtils;6 import·com.mchange.v2.sql.SqlUtils;
8 import·com.mchange.v2.log.MLevel;7 import·com.mchange.v2.log.MLevel;
 8 import·java.sql.SQLWarning;
 9 import·java.sql.Statement;
 10 import·java.sql.ResultSet;
 11 import·java.sql.ResultSetMetaData;
 12 import·java.sql.Date;
 13 import·java.sql.Time;
 14 import·java.sql.Array;
 15 import·java.net.URL;
9 import·java.sql.SQLXML;16 import·java.sql.SQLXML;
10 import·java.sql.NClob;17 import·java.sql.NClob;
11 import·java.sql.RowId;18 import·java.sql.RowId;
12 import·java.sql.ParameterMetaData;19 import·java.sql.ParameterMetaData;
13 import·java.sql.Clob;20 import·java.sql.Clob;
14 import·java.sql.Blob;21 import·java.sql.Blob;
15 import·java.sql.Ref;22 import·java.sql.Ref;
16 import·java.io.Reader; 
17 import·java.sql.SQLType;23 import·java.sql.SQLType;
18 import·java.io.InputStream;24 import·java.util.Calendar;
19 import·java.sql.Timestamp;25 import·java.sql.Timestamp;
20 import·java.math.BigDecimal;26 import·java.math.BigDecimal;
21 import·java.sql.Statement; 
22 import·java.sql.ResultSet; 
23 import·java.sql.ResultSetMetaData; 
24 import·java.sql.Date; 
25 import·java.util.Calendar;27 import·java.io.Reader;
 28 import·java.io.InputStream;
26 import·java.sql.Time; 
27 import·java.sql.Array; 
28 import·java.net.URL; 
29 import·java.sql.SQLException;29 import·java.sql.SQLException;
30 import·javax.sql.ConnectionEventListener;30 import·javax.sql.ConnectionEventListener;
31 import·com.mchange.v2.log.MLogger;31 import·com.mchange.v2.log.MLogger;
32 import·com.mchange.v2.c3p0.C3P0ProxyStatement;32 import·com.mchange.v2.c3p0.C3P0ProxyStatement;
33 import·java.sql.PreparedStatement;33 import·java.sql.PreparedStatement;
  
34 public·final·class·NewProxyPreparedStatement·implements·PreparedStatement,·C3P0ProxyStatement34 public·final·class·NewProxyPreparedStatement·implements·PreparedStatement,·C3P0ProxyStatement
Offset 45, 18 lines modifiedOffset 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 ····@Override51 ····@Override
52 ····public·final·boolean·execute()·throws·SQLException·{52 ····public·final·int·executeUpdate()·throws·SQLException·{
53 ········try·{53 ········try·{
54 ············this.maybeDirtyTransaction();54 ············this.maybeDirtyTransaction();
55 ············return·this.inner.execute();55 ············return·this.inner.executeUpdate();
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 modifiedOffset 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 ····@Override71 ····@Override
72 ····public·final·void·setBoolean(final·int·a,·final·boolean·b)·throws·SQLException·{72 ····public·final·void·addBatch()·throws·SQLException·{
73 ········try·{73 ········try·{
74 ············this.maybeDirtyTransaction();74 ············this.maybeDirtyTransaction();
75 ············this.inner.setBoolean(a,·b);75 ············this.inner.addBatch();
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 modifiedOffset 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 ····@Override91 ····@Override
92 ····public·final·void·setByte(final·int·a,·final·byte·b)·throws·SQLException·{92 ····public·final·long·executeLargeUpdate()·throws·SQLException·{
93 ········try·{93 ········try·{
94 ············this.maybeDirtyTransaction();94 ············this.maybeDirtyTransaction();
95 ············this.inner.setByte(a,·b);95 ············return·this.inner.executeLargeUpdate();
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 modifiedOffset 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 ····@Override111 ····@Override
112 ····public·final·void·setShort(final·int·a,·final·short·b)·throws·SQLException·{112 ····public·final·void·setString(final·int·a,·final·String·b)·throws·SQLException·{
113 ········try·{113 ········try·{
114 ············this.maybeDirtyTransaction();114 ············this.maybeDirtyTransaction();
115 ············this.inner.setShort(a,·b);115 ············this.inner.setString(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 modifiedOffset 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 ········}
Max diff block lines reached; 87492/91990 bytes (95.11%) of diff not shown.
158 KB
com/mchange/v2/c3p0/impl/NewProxyResultSet.class
158 KB
procyon -ec {}
    
Offset 1, 34 lines modifiedOffset 1, 34 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.SQLWarning; 
4 import·java.sql.ResultSetMetaData;3 import·java.sql.ResultSetMetaData;
5 import·java.net.URL;4 import·java.net.URL;
6 import·java.sql.Time;5 import·java.sql.Time;
7 import·java.util.Calendar;6 import·java.util.Calendar;
8 import·java.util.Map;7 import·java.util.Map;
9 import·java.sql.Connection;8 import·java.sql.Connection;
10 import·java.sql.DatabaseMetaData;9 import·java.sql.DatabaseMetaData;
11 import·java.sql.Statement;10 import·java.sql.Statement;
12 import·java.sql.SQLXML; 
13 import·java.sql.NClob; 
14 import·java.sql.RowId; 
15 import·java.sql.Array;11 import·java.sql.Array;
16 import·java.sql.Clob; 
17 import·java.sql.Blob; 
18 import·java.sql.Ref;12 import·java.sql.Ref;
19 import·java.sql.SQLType;13 import·java.sql.SQLType;
20 import·java.io.Reader; 
21 import·java.sql.Timestamp;14 import·java.sql.Timestamp;
22 import·java.sql.Date;15 import·java.sql.Date;
23 import·java.math.BigDecimal;16 import·java.math.BigDecimal;
24 import·java.sql.SQLException;17 import·java.sql.SQLXML;
 18 import·java.sql.NClob;
 19 import·java.sql.RowId;
 20 import·java.sql.Clob;
 21 import·java.sql.Blob;
25 import·java.io.InputStream;22 import·java.io.InputStream;
 23 import·java.io.Reader;
 24 import·java.sql.SQLException;
 25 import·java.sql.SQLWarning;
26 import·javax.sql.ConnectionEventListener;26 import·javax.sql.ConnectionEventListener;
27 import·com.mchange.v2.log.MLogger;27 import·com.mchange.v2.log.MLogger;
28 import·java.sql.ResultSet;28 import·java.sql.ResultSet;
  
29 public·final·class·NewProxyResultSet·implements·ResultSet29 public·final·class·NewProxyResultSet·implements·ResultSet
30 {30 {
31 ····protected·ResultSet·inner;31 ····protected·ResultSet·inner;
Offset 41, 20 lines modifiedOffset 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 ····@Override47 ····@Override
48 ····public·final·InputStream·getUnicodeStream(final·int·a)·throws·SQLException·{48 ····public·final·SQLWarning·getWarnings()·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 ············return·this.inner.getUnicodeStream(a);53 ············return·this.inner.getWarnings();
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 modifiedOffset 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 ····@Override69 ····@Override
70 ····public·final·InputStream·getUnicodeStream(final·String·a)·throws·SQLException·{70 ····public·final·void·clearWarnings()·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 ············return·this.inner.getUnicodeStream(a);75 ············this.inner.clearWarnings();
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 modifiedOffset 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 ····@Override91 ····@Override
92 ····public·final·String·getCursorName()·throws·SQLException·{92 ····public·final·void·setFetchDirection(final·int·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.getCursorName();97 ············this.inner.setFetchDirection(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 modifiedOffset 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 ····@Override113 ····@Override
114 ····public·final·int·findColumn(final·String·a)·throws·SQLException·{114 ····public·final·int·getFetchDirection()·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.findColumn(a);119 ············return·this.inner.getFetchDirection();
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 modifiedOffset 129, 20 lines modified
129 ················throw·new·RuntimeException(exc2);129 ················throw·new·RuntimeException(exc2);
Max diff block lines reached; 156978/161391 bytes (97.27%) of diff not shown.
44.8 KB
com/mchange/v2/c3p0/impl/NewProxyStatement.class
44.7 KB
procyon -ec {}
    
Offset 1, 18 lines modifiedOffset 1, 18 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.lang.reflect.InvocationTargetException;3 import·java.lang.reflect.InvocationTargetException;
4 import·java.lang.reflect.Method;4 import·java.lang.reflect.Method;
5 import·java.sql.SQLWarning; 
6 import·java.sql.ResultSet; 
7 import·java.sql.Connection;5 import·java.sql.Connection;
8 import·com.mchange.v2.sql.SqlUtils;6 import·com.mchange.v2.sql.SqlUtils;
9 import·com.mchange.v2.log.MLevel;7 import·com.mchange.v2.log.MLevel;
 8 import·java.sql.ResultSet;
 9 import·java.sql.SQLWarning;
10 import·java.sql.SQLException;10 import·java.sql.SQLException;
11 import·javax.sql.ConnectionEventListener;11 import·javax.sql.ConnectionEventListener;
12 import·com.mchange.v2.log.MLogger;12 import·com.mchange.v2.log.MLogger;
13 import·com.mchange.v2.c3p0.C3P0ProxyStatement;13 import·com.mchange.v2.c3p0.C3P0ProxyStatement;
14 import·java.sql.Statement;14 import·java.sql.Statement;
  
15 public·final·class·NewProxyStatement·implements·Statement,·C3P0ProxyStatement15 public·final·class·NewProxyStatement·implements·Statement,·C3P0ProxyStatement
Offset 26, 18 lines modifiedOffset 26, 18 lines modified
26 ····26 ····
27 ····public·NewProxyStatement(final·Statement·inner)·{27 ····public·NewProxyStatement(final·Statement·inner)·{
28 ········this.cel·=·(ConnectionEventListener)new·NewProxyStatement.NewProxyStatement$1(this);28 ········this.cel·=·(ConnectionEventListener)new·NewProxyStatement.NewProxyStatement$1(this);
29 ········this.inner·=·inner;29 ········this.inner·=·inner;
30 ····}30 ····}
31 ····31 ····
32 ····@Override32 ····@Override
33 ····public·final·boolean·execute(final·String·a,·final·String[]·b)·throws·SQLException·{33 ····public·final·int·executeUpdate(final·String·a,·final·int·b)·throws·SQLException·{
34 ········try·{34 ········try·{
35 ············this.maybeDirtyTransaction();35 ············this.maybeDirtyTransaction();
36 ············return·this.inner.execute(a,·b);36 ············return·this.inner.executeUpdate(a,·b);
37 ········}37 ········}
38 ········catch·(final·NullPointerException·exc)·{38 ········catch·(final·NullPointerException·exc)·{
39 ············if·(this.isDetached())·{39 ············if·(this.isDetached())·{
40 ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc);40 ················throw·new·IllegalStateException("You·can't·operate·on·a·closed·Statement!!!",·exc);
41 ············}41 ············}
42 ············throw·exc;42 ············throw·exc;
43 ········}43 ········}
Offset 46, 18 lines modifiedOffset 46, 18 lines modified
46 ················throw·new·RuntimeException(exc2);46 ················throw·new·RuntimeException(exc2);
47 ············}47 ············}
48 ············throw·new·RuntimeException(exc2);48 ············throw·new·RuntimeException(exc2);
49 ········}49 ········}
50 ····}50 ····}
51 ····51 ····
52 ····@Override52 ····@Override
53 ····public·final·boolean·execute(final·String·a,·final·int·b)·throws·SQLException·{53 ····public·final·int·executeUpdate(final·String·a,·final·String[]·b)·throws·SQLException·{
54 ········try·{54 ········try·{
55 ············this.maybeDirtyTransaction();55 ············this.maybeDirtyTransaction();
56 ············return·this.inner.execute(a,·b);56 ············return·this.inner.executeUpdate(a,·b);
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 modifiedOffset 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 ····@Override72 ····@Override
73 ····public·final·boolean·execute(final·String·a)·throws·SQLException·{73 ····public·final·int·executeUpdate(final·String·a)·throws·SQLException·{
74 ········try·{74 ········try·{
75 ············this.maybeDirtyTransaction();75 ············this.maybeDirtyTransaction();
76 ············return·this.inner.execute(a);76 ············return·this.inner.executeUpdate(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 modifiedOffset 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 ····@Override92 ····@Override
93 ····public·final·boolean·execute(final·String·a,·final·int[]·b)·throws·SQLException·{93 ····public·final·int·executeUpdate(final·String·a,·final·int[]·b)·throws·SQLException·{
94 ········try·{94 ········try·{
95 ············this.maybeDirtyTransaction();95 ············this.maybeDirtyTransaction();
96 ············return·this.inner.execute(a,·b);96 ············return·this.inner.executeUpdate(a,·b);
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, 57 lines modifiedOffset 106, 38 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 ····@Override112 ····@Override
113 ····public·final·void·close()·throws·SQLException·{113 ····public·final·int·getMaxFieldSize()·throws·SQLException·{
114 ········try·{114 ········try·{
115 ············this.maybeDirtyTransaction();115 ············this.maybeDirtyTransaction();
 116 ············return·this.inner.getMaxFieldSize();
116 ············if·(!this.isDetached())·{ 
117 ················if·(this.is_cached)·{ 
118 ····················this.parentPooledConnection.checkinStatement(this.inner); 
119 ················} 
120 ················else·{ 
121 ····················this.parentPooledConnection.markInactiveUncachedStatement(this.inner); 
122 ····················try·{ 
123 ························this.inner.close(); 
124 ····················} 
125 ····················catch·(final·Exception·e)·{ 
126 ························if·(NewProxyStatement.logger.isLoggable(MLevel.WARNING))·{ 
127 ····························NewProxyStatement.logger.log(MLevel.WARNING,·"Exception·on·close·of·inner·statement.",·(Throwable)e); 
128 ························} 
129 ························final·SQLException·sqle·=·SqlUtils.toSQLException((Throwable)e); 
130 ························throw·sqle; 
131 ····················} 
132 ················} 
133 ················this.detach(); 
134 ················this.inner·=·null; 
Max diff block lines reached; 40689/45771 bytes (88.90%) of diff not shown.