Commit 2d68d4ce by Sarath Subramanian Committed by Madhan Neethiraj

ATLAS-1470: fixed validation of byte-type tag attributes, to handle exception

parent f379c9ff
......@@ -105,7 +105,11 @@ public class AtlasBuiltInTypes {
String strValue = obj.toString();
if (StringUtils.isNotEmpty(strValue)) {
try {
return Byte.valueOf(strValue);
} catch(NumberFormatException excp) {
// ignore
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment