commit | 21dcd60fae06bd509de8f5e7ef12049d3adefe15 | [log] [tgz] |
---|---|---|
author | vinayakb <vinayakb@123451ca-8445-de46-9d55-352943316053> | Tue Oct 26 01:18:20 2010 +0000 |
committer | vinayakb <vinayakb@123451ca-8445-de46-9d55-352943316053> | Tue Oct 26 01:18:20 2010 +0000 |
tree | 931f4a5591abd40859d10953a1b265fb8e2ccf80 | |
parent | 10b98d6d5129c3efc9807cc3da25473a8246d00f [diff] |
Fixed bug in IntegerParserFactory git-svn-id: https://hyracks.googlecode.com/svn/trunk/hyracks@159 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks-dataflow-common/src/main/java/edu/uci/ics/hyracks/dataflow/common/data/parsers/IntegerParserFactory.java b/hyracks-dataflow-common/src/main/java/edu/uci/ics/hyracks/dataflow/common/data/parsers/IntegerParserFactory.java index 3a71afa..f9aa519 100644 --- a/hyracks-dataflow-common/src/main/java/edu/uci/ics/hyracks/dataflow/common/data/parsers/IntegerParserFactory.java +++ b/hyracks-dataflow-common/src/main/java/edu/uci/ics/hyracks/dataflow/common/data/parsers/IntegerParserFactory.java
@@ -48,6 +48,8 @@ case '-': sign = -1; + pre = false; + break; case '0': case '1': @@ -60,6 +62,7 @@ case '8': case '9': pre = false; + n = n * 10 + (ch - '0'); break; default: