Skip to content

Commit

Permalink
v12.0.0-beta10
Browse files Browse the repository at this point in the history
  • Loading branch information
xzel23 committed Dec 21, 2023
1 parent 6720904 commit 0f341ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,14 @@ When running your code with exceptions enabled, parameters are checked for inval
will be generated when null is passed for a `@NotNull` annotated parameter. The assertion message contains the name of
the parameter.
## Changes
## Logging
- all internal logging is done through log4j-api instead of slf4j
- introduced util-logging-slf4j as sub project of util-logging. Note that util-logging is not intended as a production
logging replacement. It is intended to provide utilites to capture and display log data in an application window.
## Changes
### 12.0.0 (to be released)
- BREAKING: ArgumentsParser has been split into ArgumentsParserBuilder and ArgumentsParser; see unit tests for examples
Expand All @@ -180,6 +182,7 @@ the parameter.
- util-logging: reworked util-logging, simplified SwingLogPane use
- util-db: added NamedParameterStatement.setInstant(), cleaned up NamedParameterStatement javadoc
- SimpleNamespaceContext: added methods get Prefixes(), getNamespaceURIs
- TextUtil.transform(): accept Object instances as substitutions (String.valueOf() is used for formatting of instances)
- reduce code duplication
- increase unit test coverage
- add javadoc
Expand All @@ -190,6 +193,7 @@ the parameter.
- fix Vector2f returning NaN for zero denominator
- fix IoUtil.glob() and IoUtil.findFiles() returning paths with inconsistent root under certain circumstances
- fix smaller issues
- update plugins and dependencies
### 11.1.3
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// define project name and version
rootProject.name = "dua3-utility"
val projectVersion = "12.0.0-beta9"
val projectVersion = "12.0.0-beta10"

// define subprojects
include("utility")
Expand Down Expand Up @@ -29,7 +29,7 @@ dependencyResolutionManagement {
plugin("versions", "com.github.ben-manes.versions").version("0.50.0")
plugin("test-logger", "com.adarshr.test-logger").version("4.0.0")
plugin("spotbugs", "com.github.spotbugs").version("6.0.4")
plugin("cabe", "com.dua3.cabe").version("2.0-beta2")
plugin("cabe", "com.dua3.cabe").version("2.0-rc3")

version("cabe-annotations", "2.0")
version("junit", "5.10.1")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public Optional<String> getDefaultPrefix() {
* @return a list containing all prefixes in the mapping
*/
public List<String> getPrefixes() {
return new ArrayList(nsToUri.keySet());
return new ArrayList<>(nsToUri.keySet());
}

/**
Expand All @@ -107,6 +107,6 @@ public List<String> getPrefixes() {
* @return A list of namespace URIs.
*/
public List<String> getNamespaceURIs() {
return new ArrayList(uriToNs.keySet());
return new ArrayList<>(uriToNs.keySet());
}
}

0 comments on commit 0f341ea

Please sign in to comment.