*\r
*/\r
public class Range {\r
+ static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getFactory().getLog(Range.class);\r
\r
/**\r
* get start<end range of segment, adjusting for inclusivity flag and\r
*/\r
public static MapList parsemapType(MapType map)\r
{\r
+ if (!map.getLocal().hasUnit() || map.getMapped().hasUnit())\r
+ {\r
+ if (log.isDebugEnabled())\r
+ { \r
+ log.debug(\r
+ "using default mapping length of 1:1 for map "\r
+ +(map.isRegistered() ? map.getVorbaId().toString() : ("<no Id registered> "+map.toString())));\r
+ }\r
+ }\r
return parsemapType(map, 1, 1); \r
}\r
\r