Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-pmc] API Request: Breaking changes to Data Binding API (bug 177684)

I would like to request permission for the following breaking changes to the Data Binding API.  I'd like to make the following converters and validators internal removing them from the public API.

* DateConversionSupport
* DateToStringConverter
* IdentityConverter
* StringToBooleanConverter
* StringToBooleanPrimitiveConverter
* StringToByteConverter
* StringToBytePrimitiveConverter
* StringToCharacterConverter
* StringToDateConverter
* StringToShortConverter
* StringToShortPrimitiveConverter
* ObjectToPrimitiveValidator
* ReadOnlyValidator
* String2BytePrimitiveValidator
* String2ByteValidator
* String2DateValidator
* String2DoublePrimitiveValidator
* String2DoubleValidator
* String2FloatPrimitiveValidator
* String2FloatValidator
* String2IntegerPrimitiveValidator
* String2IntegerValidator
* String2LongPrimitiveValidator
* String2LongValidator
* String2ShortPrimitiveValidator
* String2ShortValidator

These classes make a lot of API to commit to and since we default them for the consumer we don't see a need to expose them at this point in time.  They will be moved to an internal package and if necessary we can expose them at a later point in time.

GOALS/BENEFITS:
Less API.

CORRESPONDING BUG:
[DataBinding] Make default converters and validators internal - https://bugs.eclipse.org/bugs/show_bug.cgi?id=177684

RISKS:
Minimal risk.  Most consumers don't directly reference these classes as we default them for them.

PERFORMANCE IMPACT:
No performance impact.

Thanks,
Brad Reynolds

Back to the top