comparison gnv-artifacts/src/main/java/de/intevation/gnv/exports/SimpleOdvDataCollector.java @ 778:9a828e5a2390

Removed trailing whitespace gnv-artifacts/trunk@851 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 29 Mar 2010 07:58:51 +0000
parents a0e63136954e
children b1f5f2a8840f
comparison
equal deleted inserted replaced
777:8009961db1cb 778:9a828e5a2390
69 69
70 try { 70 try {
71 String [] entries = new String[names.length+1]; 71 String [] entries = new String[names.length+1];
72 int j = 0; 72 int j = 0;
73 for (int i = 0; i < names.length; i++) { 73 for (int i = 0; i < names.length; i++) {
74 74
75 if (names[i].equals("SHAPE")) { 75 if (names[i].equals("SHAPE")) {
76 Point p = (Point)wktReader.read(result.getString("SHAPE")); 76 Point p = (Point)wktReader.read(result.getString("SHAPE"));
77 77
78 entries[j++] = ""+p.getX(); 78 entries[j++] = ""+p.getX();
79 entries[j++] = ""+p.getY(); 79 entries[j++] = ""+p.getY();
80 } 80 }
81 // Change the datetime format from yyyy.MM.dd HH:mm:ss to 81 // Change the datetime format from yyyy.MM.dd HH:mm:ss to
82 // yyyy-MM-dd HH:mm 82 // yyyy-MM-dd HH:mm
83 else if (names[i].equals("TIMEVALUE")) { 83 else if (names[i].equals("TIMEVALUE")) {
84 Date source = srcFormat.parse(result.getString(names[i])); 84 Date source = srcFormat.parse(result.getString(names[i]));
85 entries[j++] = destFormat.format(source); 85 entries[j++] = destFormat.format(source);
86 } 86 }

http://dive4elements.wald.intevation.org