Skip to content

Commit

Permalink
resolve more geotools 31 vs older issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vsp-gleich committed May 22, 2024
1 parent 8c8272c commit 560ee15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/org/matsim/prepare/AdjustDemandTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.matsim.prepare;

import org.geotools.api.referencing.FactoryException;
import org.geotools.feature.simple.SimpleFeatureBuilder;
import org.geotools.feature.simple.SimpleFeatureTypeBuilder;
import org.geotools.referencing.CRS;
Expand All @@ -22,8 +23,7 @@
import org.matsim.core.utils.geometry.geotools.MGC;
import org.matsim.core.utils.gis.ShapeFileWriter;
import org.matsim.testcases.MatsimTestUtils;
import org.opengis.feature.simple.SimpleFeatureType;
import org.opengis.referencing.FactoryException;
import org.geotools.api.feature.simple.SimpleFeatureType;

import java.util.*;
import java.util.stream.Collectors;
Expand Down Expand Up @@ -421,4 +421,4 @@ private static Activity createAct(String type, Envelope bounds, PopulationFactor
var y = bounds.getMinY() + rand.nextDouble(bounds.getHeight());
return fact.createActivityFromCoord(type, new Coord(x, y));
}
}
}

0 comments on commit 560ee15

Please sign in to comment.