Skip to content

Commit 91432cf

Browse files
committed
some minor but useful additions (e.g. citation) and - wow - three little imports work - it is a start but a promising one
1 parent 11f4d1f commit 91432cf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/shp2ohdm/Shapefile2OHDM.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ void importShapefile() throws IOException {
8787
connection.close();
8888

8989
String importerUserName = this.importParameter.getUserName();
90-
System.err.println("set user id!");
90+
System.err.println("deal with user id!");
9191
this.importerUserIDSet = true;
92-
this.importerUserID = new BigDecimal(42);
92+
this.importerUserID = new BigDecimal(-1);
9393

9494
String validSinceString = importParameter.getValidSince();
9595
String columnValidSinceYear = importParameter.getColumnValidSinceYear();

src/util/Parameter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public Parameter(String filename) throws FileNotFoundException, IOException {
157157
// find delimiter
158158
String key, value;
159159
int delimiterIndex = inLine.indexOf(":");
160-
if(delimiterIndex < 1) continue; // missing or first character - both invalid
160+
if(delimiterIndex < 1) {inLine = br.readLine(); continue;} // missing or first character - both invalid
161161
// StringTokenizer st = new StringTokenizer(inLine, ":");
162162
// if(st.hasMoreTokens()) {
163163
// String key, value;

0 commit comments

Comments
 (0)