Skip to content

Commit

Permalink
(refactor) introduce checkstyle, remove useless tests, add missing do…
Browse files Browse the repository at this point in the history
…cstrings (#7)
  • Loading branch information
ake2l authored Jul 23, 2021
1 parent 206751a commit 1ec12b5
Show file tree
Hide file tree
Showing 868 changed files with 58,719 additions and 42,730 deletions.
336 changes: 336 additions & 0 deletions checkstyle.xml

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions releasenotes/releasenotes-0.2.01.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
release notes databene-commons 0.2.01
-------------------------------------
Purpose: This release only provides features needed for new releases of dependent projects
Enhancements:
- StringUtil.indexOfIgnoreCase()
- StringUtil.lastChar(String)
- StringUtil.capitalize(String)
- IOUtil.copy(String srcUri, String dstUri)
release notes databene-commons 0.2.01
-------------------------------------

Purpose: This release only provides features needed for new releases of dependent projects

Enhancements:
- StringUtil.indexOfIgnoreCase()
- StringUtil.lastChar(String)
- StringUtil.capitalize(String)
- IOUtil.copy(String srcUri, String dstUri)
- DBUtil.close(Statement)
34 changes: 17 additions & 17 deletions releasenotes/releasenotes-0.2.02.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
release notes databene-commons 0.2.02
-------------------------------------
Purpose: This release only provides features needed for new releases of dependent projects
Enhancements:
- new method SystemInfo.fileEncoding()
- new method SystemInfo.userLanguage()
- new class org.databene.model.converter.MessageConverter
- new method BeanUtil.hasProperty()
- implemented StringLengthValidator.toString()
- new class MessageConverter
- new class MathUtil
- improved logging
- new method CollectionUtil.toArray(Collection<Character> source)
- supporting file encodings in IOUtil.getReaderForUri() that abviate from System defaults
- new method ParseUtil.isHex()
release notes databene-commons 0.2.02
-------------------------------------

Purpose: This release only provides features needed for new releases of dependent projects

Enhancements:
- new method SystemInfo.fileEncoding()
- new method SystemInfo.userLanguage()
- new class org.databene.model.converter.MessageConverter
- new method BeanUtil.hasProperty()
- implemented StringLengthValidator.toString()
- new class MessageConverter
- new class MathUtil
- improved logging
- new method CollectionUtil.toArray(Collection<Character> source)
- supporting file encodings in IOUtil.getReaderForUri() that abviate from System defaults
- new method ParseUtil.isHex()
- CompositeValidator, AndValidator, OrValidator
14 changes: 7 additions & 7 deletions releasenotes/releasenotes-0.2.03.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
release notes databene-commons 0.2.03
-------------------------------------
Changes
- new method ArrayFormat.formatStrings() as workaround for an Eclipse Java parser problem
- renamed ArrayFormat.formatCharacterArray() to formatChars()
- renamed ArrayFormat.formatIntArray() to formatInts()
release notes databene-commons 0.2.03
-------------------------------------

Changes
- new method ArrayFormat.formatStrings() as workaround for an Eclipse Java parser problem
- renamed ArrayFormat.formatCharacterArray() to formatChars()
- renamed ArrayFormat.formatIntArray() to formatInts()
46 changes: 23 additions & 23 deletions releasenotes/releasenotes-0.2.04.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
release notes databene-commons 0.2.04
-------------------------------------
Summary: Most enhancements are related to conversions of timestamps and arrays.
A new Escalation strategy was introduced.
Enhancements
- New Escalation strategy with LoggerEscalatior implementation
- New classes
- ByteArrayToBase64Converter
- Date2TimestampConverter
- String2ByteArrayConverter
- ArrayBuilder
- Base64Codec
- ObjectNotFoundException
- ToArrayConverter: generic support of getBytes() methods
- String2DateConverter: added support for java.sql.Timestamp creation
- ArrayFormat.formatBytes()
- FactoryConverter: added generic support for typeValue() methods, e.g. intValue(), stringValue()
- new method StringUtil.uncapitalize()
- RoundedNumberFormat: using number formatting in US Locale by default
- ArrayUtil: new methods arrayType(), newInstance()
release notes databene-commons 0.2.04
-------------------------------------

Summary: Most enhancements are related to conversions of timestamps and arrays.
A new Escalation strategy was introduced.


Enhancements
- New Escalation strategy with LoggerEscalatior implementation
- New classes
- ByteArrayToBase64Converter
- Date2TimestampConverter
- String2ByteArrayConverter
- ArrayBuilder
- Base64Codec
- ObjectNotFoundException
- ToArrayConverter: generic support of getBytes() methods
- String2DateConverter: added support for java.sql.Timestamp creation
- ArrayFormat.formatBytes()
- FactoryConverter: added generic support for typeValue() methods, e.g. intValue(), stringValue()
- new method StringUtil.uncapitalize()
- RoundedNumberFormat: using number formatting in US Locale by default
- ArrayUtil: new methods arrayType(), newInstance()
48 changes: 24 additions & 24 deletions releasenotes/releasenotes-0.3.0.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
release notes databene-commons 0.3.0
------------------------------------
Changes
- moved packages from org.databene.model to com.rapiddweller.commons
Enhancements
- StringUtil.trimAll()
- BeanUtil.extractProperties()
- StringCharacterIterator: new methods skipWhitespace(), parseLetters(), remainingText()
- ParseUtil: New method parseAssignment()
- IOUtil: Custom Properties file reader that supports preprocessing of entries.
- BeanUtil: Added deprecation check and escalation on instantiation
Bug Fixes
- MinOperation returned max
- MaxOperation returned min
QA
- Minimal JavaDoc added to all classes
- Added tests
Migration
- rename class imports from org.databene.model.** to com.rapiddweller.commons.**
release notes databene-commons 0.3.0
------------------------------------

Changes
- moved packages from org.databene.model to com.rapiddweller.commons

Enhancements
- StringUtil.trimAll()
- BeanUtil.extractProperties()
- StringCharacterIterator: new methods skipWhitespace(), parseLetters(), remainingText()
- ParseUtil: New method parseAssignment()
- IOUtil: Custom Properties file reader that supports preprocessing of entries.
- BeanUtil: Added deprecation check and escalation on instantiation

Bug Fixes
- MinOperation returned max
- MaxOperation returned min

QA
- Minimal JavaDoc added to all classes
- Added tests

Migration
- rename class imports from org.databene.model.** to com.rapiddweller.commons.**
16 changes: 8 additions & 8 deletions releasenotes/releasenotes-0.3.1.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
release notes databene commons 0.3.1
------------------------------------
Changes
- cleaned up commons package
QA
- Added tests
release notes databene commons 0.3.1
------------------------------------

Changes
- cleaned up commons package

QA
- Added tests
112 changes: 56 additions & 56 deletions releasenotes/releasenotes-0.4.0.txt
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
release notes databene commons 0.4.0
------------------------------------
Changes
- moved DBUtil to com.rapiddweller.commons
- moved packages org.databene.platform.* -> com.rapiddweller.commons.*
- Changed parameter order in ArrayUtil.contains()
- moved collection related methods from ArrayUtil to CollectionUtil
- Renamed AbstractTypedConverter to AbstractBidirectionalConverter
- Added generic type for source to AnyConverter
Enhancements
- new methods in StringUtil
- splitOnLastSeparator()
- containsIgnoreCase()
- startsWithIgnoreCase()
- new Time creation methods in TimeUtil
- Added configuration from file for the ComparatorFactory
- new method ParseUtil.isNMToken()
- new methods LocaleUtil.availableLocaleUrl() and reduceLocaleString()
- new class MathUtil
- IOUtil
- improved properties file support by preprocessors
- new method getBinaryContentOfUri()
- Made Composite a generic type and added getComponents() method
- new methods ArrayUtil.append(), equals() and isEmpty()
- new operations:
- AndOperation
- ArrayIntersectionOperation
- ConvertingOperation
- FirstNonNullSelector
- MaxNumberLiteral
- MinNumberLiteral
- OperationWrapper
- OrOperation
- new Converters:
- ArrayTypeConverter
- LiteralParser
- String2NumberConverter
- String2TimeConverter
- DefaultEntryConverter
- many many new XML utility methods in XMLUtil
- new FlatXML2BeanConverter
- Implemented parsing of arrays in ArrayFormat
- new BeanUtil methods
- findMethodsByAnnotation()
- getGenericInterfaceParams()
- findMethodsByName()
- new class CompositeFormatter
Bug fixes
- UTF-8 support in IOUtil
- added array support for StringConverter
- converting null values with ArrayConverter
- AnyMutator: auto-converting bean properties to the correct type
- BeanUtil supports auto-conversion of invocation parameters to appropriate type
release notes databene commons 0.4.0
------------------------------------

Changes
- moved DBUtil to com.rapiddweller.commons
- moved packages org.databene.platform.* -> com.rapiddweller.commons.*
- Changed parameter order in ArrayUtil.contains()
- moved collection related methods from ArrayUtil to CollectionUtil
- Renamed AbstractTypedConverter to AbstractBidirectionalConverter
- Added generic type for source to AnyConverter

Enhancements
- new methods in StringUtil
- splitOnLastSeparator()
- containsIgnoreCase()
- startsWithIgnoreCase()
- new Time creation methods in TimeUtil
- Added configuration from file for the ComparatorFactory
- new method ParseUtil.isNMToken()
- new methods LocaleUtil.availableLocaleUrl() and reduceLocaleString()
- new class MathUtil
- IOUtil
- improved properties file support by preprocessors
- new method getBinaryContentOfUri()
- Made Composite a generic type and added getComponents() method
- new methods ArrayUtil.append(), equals() and isEmpty()
- new operations:
- AndOperation
- ArrayIntersectionOperation
- ConvertingOperation
- FirstNonNullSelector
- MaxNumberLiteral
- MinNumberLiteral
- OperationWrapper
- OrOperation
- new Converters:
- ArrayTypeConverter
- LiteralParser
- String2NumberConverter
- String2TimeConverter
- DefaultEntryConverter
- many many new XML utility methods in XMLUtil
- new FlatXML2BeanConverter
- Implemented parsing of arrays in ArrayFormat
- new BeanUtil methods
- findMethodsByAnnotation()
- getGenericInterfaceParams()
- findMethodsByName()
- new class CompositeFormatter

Bug fixes
- UTF-8 support in IOUtil
- added array support for StringConverter
- converting null values with ArrayConverter
- AnyMutator: auto-converting bean properties to the correct type
- BeanUtil supports auto-conversion of invocation parameters to appropriate type
30 changes: 15 additions & 15 deletions releasenotes/releasenotes-0.4.1.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
release notes databene commons 0.4.1
------------------------------------
Changes
- restructured CompositeFormatter from static utility class to instance class
Enhancements
- new methods in StringUtil class: endsWithIgnoreCase(), normalizeName() and unescape()
- StringUtil: Added logic for null-value handling in starts/endsWithIgnoreCase()
- AnyConverter, ToStringConverter: Added support for datePattern
Bug fixes (find the tracker at http://sourceforge.net/tracker/?group_id=222964&atid=1057386)
- 1937404 IOUtil.readProperties does not support \n \r \t
- 1936931 LiteralParser parses 01234 as number, should be string
- ParseUtil: catching null input in parseAssignment
release notes databene commons 0.4.1
------------------------------------

Changes
- restructured CompositeFormatter from static utility class to instance class

Enhancements
- new methods in StringUtil class: endsWithIgnoreCase(), normalizeName() and unescape()
- StringUtil: Added logic for null-value handling in starts/endsWithIgnoreCase()
- AnyConverter, ToStringConverter: Added support for datePattern

Bug fixes (find the tracker at http://sourceforge.net/tracker/?group_id=222964&atid=1057386)
- 1937404 IOUtil.readProperties does not support \n \r \t
- 1936931 LiteralParser parses 01234 as number, should be string
- ParseUtil: catching null input in parseAssignment
26 changes: 13 additions & 13 deletions releasenotes/releasenotes-0.4.2.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
release notes databene commons 0.4.2
------------------------------------
Changes
- renamed Composite.setComponentValue() to setComponent()
- renamed toArray(Class<T> componentType, T ... values) to buildArrayOfType(Class<T> componentType, T ... values)
- added toArray(T ... values)
Enhancements
- new OrderedNameMap with capitalization support
- new Long2IntegerConverter
Bug fixes (find the tracker at http://sourceforge.net/tracker/?group_id=222964&atid=1057386)
release notes databene commons 0.4.2
------------------------------------

Changes
- renamed Composite.setComponentValue() to setComponent()
- renamed toArray(Class<T> componentType, T ... values) to buildArrayOfType(Class<T> componentType, T ... values)
- added toArray(T ... values)

Enhancements
- new OrderedNameMap with capitalization support
- new Long2IntegerConverter

Bug fixes (find the tracker at http://sourceforge.net/tracker/?group_id=222964&atid=1057386)
Loading

0 comments on commit 1ec12b5

Please sign in to comment.