Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial fix was too quick, testing h2 datastore caught this one.

  • Loading branch information...
commit e1f75c276a13945943f013842676a8eae7b43a9a 1 parent b787672
@jodygarnett jodygarnett authored
View
4 modules/library/jdbc/src/test/java/org/geotools/jdbc/JDBCTransactionTest.java
@@ -112,8 +112,8 @@ public void testSerialTransactions() throws IOException {
SimpleFeatureBuilder b = new SimpleFeatureBuilder(st.getSchema());
b.set(aname("intProperty"), new Integer(100));
SimpleFeature f1 = b.buildFeature(null);
- SimpleFeatureCollection features = new DefaultFeatureCollection(null,null);
- st.addFeatures( DataUtilities.collection(f1));
+ DefaultFeatureCollection features = new DefaultFeatureCollection(null,null);
+ features.add( f1 );
Transaction tx1 = new DefaultTransaction();
st.setTransaction(tx1);
Please sign in to comment.
Something went wrong with that request. Please try again.