From 5386437ffbf1a72064d6be4837fd0b683658f99c Mon Sep 17 00:00:00 2001
From: Arthur Coolen <coolen@astron.nl>
Date: Fri, 4 Mar 2011 11:23:35 +0000
Subject: [PATCH] Bug 756: corrected error in LofarUtils.expandString

---
 JAVA/LofarUtils/src/nl/astron/lofar/lofarutils/LofarUtils.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/JAVA/LofarUtils/src/nl/astron/lofar/lofarutils/LofarUtils.java b/JAVA/LofarUtils/src/nl/astron/lofar/lofarutils/LofarUtils.java
index 0a434a83bfb..b7d99e2f854 100644
--- a/JAVA/LofarUtils/src/nl/astron/lofar/lofarutils/LofarUtils.java
+++ b/JAVA/LofarUtils/src/nl/astron/lofar/lofarutils/LofarUtils.java
@@ -488,8 +488,6 @@ public abstract class LofarUtils {
          
         try {
             for (String aS:splitted) {
-                // return if non digits are found
-                if (!aS.matches("-?\\d+" )) return orgStr;
 
                 // check if a .. is found in the string
                 if (aS.contains("..")) {
-- 
GitLab