ASM #589 - Fix FFMP Templates generation issue

Change-Id: Ia3715ccb03113f3d2528e516c2568255935f4086

Former-commit-id: fe742a06b9 [formerly f771c8fed4] [formerly 165b953b5c [formerly 560a3cc5ac5e9e059b581294e48e69a9978272e5]]
Former-commit-id: 165b953b5c
Former-commit-id: c4b32db009
This commit is contained in:
Gang.Zhang 2014-05-09 11:51:18 +01:00
parent 895a652b4c
commit b5622c5a5e

View file

@ -85,8 +85,8 @@ import com.vividsolutions.jts.io.WKTWriter;
* 03/01/13 DR 13228 G. Zhang Add state for VGB query and related code
* 03/18/13 1817 D. Hladky Fixed issue with BOX where only 1 HUC was showing up.
* 08/20/13 2250 mnash Fixed incorrect return types for database queries.
* 09/05/14 DR 17346 G. Zhang Fixed issue with DB return types.
* </pre>
*
* @author dhladky
* @version 1
*/
@ -254,7 +254,7 @@ public class FFMPUtils {
if (results.length > 0) {
for (int i = 0; i < results.length; i++) {
String column_name = (String) ((Object[]) results[i])[0];
String column_name = (String) results[i]/*((Object[]) results[i])[0]*/;
if (column_name.startsWith("upstream")) {
upstreams.add("upstream" + j);
j++;
@ -601,7 +601,7 @@ public class FFMPUtils {
for (int i = 0; i < results.length; i++) {
if (results[i] != null) {
keys.add(new Integer(
(String) ((Object[]) results[i])[0])
(String)results[i]/* ((Object[]) results[i])[0]*/)
.longValue());
}
}