in common/src/main/java/deltix/connector/common/util/ConnectorUtil.java [24:38]
public static boolean isPostOnly(@Nullable ObjectList<CustomAttribute> attributes) {
if (attributes == null || attributes.isEmpty())
return false;
for (int i = 0; i < attributes.size(); i++) {
CustomAttribute attribute = attributes.get(i);
if (attribute.getKey() == POST_ONLY_TAG) {
CharSequence value = attribute.getValue();
if (value == null || value.length() != 1)
return false;
return isPostOnly(value.charAt(0));
}
}
return false;
}