Strabon

changeset 1150:dc7f1c630fb5 temporals

misplaced bracket caused bug
author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
date Wed May 08 12:07:51 2013 +0300 (2013-05-08)
parents ce263b0a53c4
children c8f4ebc124a2
files runtime/src/main/java/eu/earthobservatory/runtime/generaldb/utils.java
line diff
     1.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/utils.java	Tue May 07 00:45:39 2013 +0300
     1.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/utils.java	Wed May 08 12:07:51 2013 +0300
     1.3 @@ -52,7 +52,7 @@
     1.4  			matcher = pattern.matcher(oldQueryString);
     1.5  			
     1.6  			Pattern updatePattern = Pattern.compile(updateREGEX, Pattern.DOTALL);
     1.7 -			Matcher updateMatcher =  updatePattern.matcher(queryString);
     1.8 +			Matcher updateMatcher =  updatePattern.matcher(oldQueryString);
     1.9  			
    1.10  			System.out.println("oldQuerySting "+oldQueryString);
    1.11  			while(updateMatcher.find())
    1.12 @@ -128,7 +128,7 @@
    1.13  					i++;
    1.14  					
    1.15  				}
    1.16 -			
    1.17 +			}
    1.18  			if(numOfQuadruples==0)
    1.19  			{
    1.20  				newQueryString=queryString;
    1.21 @@ -139,7 +139,7 @@
    1.22  				newQueryString+=oldQueryString.substring(startIndex);
    1.23  				logger.info("\n\nNew QueryString:\n {}\n\n", newQueryString);
    1.24  			}
    1.25 -		}
    1.26 +		
    1.27  		}
    1.28  		catch(Exception e)
    1.29  		{