Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
charphi committed Apr 14, 2023
2 parents e740099 + 63958fa commit dcda75f
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
$-jbang-
- name: Create index.html
uses: jbangdev/jbang-action@v0.101.0
uses: jbangdev/jbang-action@v0.104.0
with:
trust: https://gist.github.com/charphi/
script: https://gist.github.com/charphi/f44a24eb35dbd61b9f1d7759f0e561bd
Expand Down
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.2.2] - 2023-04-14

This is a bugfix release of **picocsv**.
picocsv follows [semantic versioning](https://semver.org/).

### Fixed

- Fix potential bugs related to system settings

## [2.2.1] - 2022-12-14

This is a bugfix release of **picocsv**.
Expand Down Expand Up @@ -118,7 +127,8 @@ picocsv follows [semantic versioning](https://semver.org/).

- Initial release

[Unreleased]: https://github.com/nbbrd/picocsv/compare/v2.2.1...HEAD
[Unreleased]: https://github.com/nbbrd/picocsv/compare/v2.2.2...HEAD
[2.2.2]: https://github.com/nbbrd/picocsv/compare/v2.2.1...v2.2.2
[2.2.1]: https://github.com/nbbrd/picocsv/compare/v2.2.0...v2.2.1
[2.2.0]: https://github.com/nbbrd/picocsv/compare/v2.1.0...v2.2.0
[2.1.0]: https://github.com/nbbrd/picocsv/compare/v2.0.0...v2.1.0
Expand Down
63 changes: 47 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.github.nbbrd.picocsv</groupId>
<artifactId>picocsv</artifactId>
<version>2.2.1</version>
<version>2.2.2</version>
<packaging>jar</packaging>

<name>picocsv</name>
Expand Down Expand Up @@ -40,7 +40,7 @@
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.9.1</version>
<version>5.9.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -67,7 +67,7 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.23.1</version>
<version>3.24.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -106,17 +106,17 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.11.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.0</version>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -126,7 +126,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.0</version>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -136,14 +136,19 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version>
<version>3.0.0</version>
</plugin>
<!-- Other plugins -->
<plugin>
<groupId>com.github.nbbrd.heylogs</groupId>
<artifactId>heylogs-maven-plugin</artifactId>
<version>0.5.0</version>
</plugin>
<plugin>
<groupId>de.thetaphi</groupId>
<artifactId>forbiddenapis</artifactId>
<version>3.5.1</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down Expand Up @@ -175,6 +180,32 @@
</properties>
</configuration>
</plugin>
<plugin>
<groupId>de.thetaphi</groupId>
<artifactId>forbiddenapis</artifactId>
<configuration>
<failOnUnsupportedJava>false</failOnUnsupportedJava>
<bundledSignatures>
<bundledSignature>jdk-unsafe</bundledSignature>
<bundledSignature>jdk-deprecated</bundledSignature>
<bundledSignature>jdk-internal</bundledSignature>
<bundledSignature>jdk-non-portable</bundledSignature>
<bundledSignature>jdk-reflection</bundledSignature>
</bundledSignatures>
<suppressAnnotations>
<suppressAnnotation>javax.annotation.processing.Generated</suppressAnnotation>
<suppressAnnotation>lombok.Generated</suppressAnnotation>
</suppressAnnotations>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
<goal>testCheck</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -214,7 +245,7 @@
</property>
</activation>
<properties>
<lombok.version>1.18.24</lombok.version>
<lombok.version>1.18.26</lombok.version>
<jmh.version>1.36</jmh.version>
</properties>
<dependencyManagement>
Expand Down Expand Up @@ -349,17 +380,17 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.1.0</version>
<version>3.3.0</version>
<dependencies>
<dependency>
<groupId>org.kordamp.maven</groupId>
<artifactId>pomchecker-enforcer-rules</artifactId>
<version>1.4.0</version>
<version>1.9.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>1.6.1</version>
<version>1.6.2</version>
</dependency>
</dependencies>
<executions>
Expand Down Expand Up @@ -422,7 +453,7 @@
<plugin>
<groupId>org.gaul</groupId>
<artifactId>modernizer-maven-plugin</artifactId>
<version>2.5.0</version>
<version>2.6.0</version>
<configuration>
<javaVersion>1.7</javaVersion>
</configuration>
Expand Down Expand Up @@ -454,7 +485,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<version>0.8.9</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -519,7 +550,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.1</version>
<version>3.5.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand Down Expand Up @@ -622,7 +653,7 @@
<plugin>
<groupId>org.jreleaser</groupId>
<artifactId>jreleaser-maven-plugin</artifactId>
<version>1.3.1</version>
<version>1.5.1</version>
<executions>
<execution>
<phase>install</phase>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/nbbrd/picocsv/Csv.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import java.io.Closeable;
import java.io.Flushable;
import java.io.IOException;
import java.util.Locale;
import java.util.Objects;

/**
Expand Down Expand Up @@ -1409,7 +1410,7 @@ private static RuntimeException newUnreachable() {

private static void requireArgument(boolean condition, String format, Object arg) throws IllegalArgumentException {
if (!condition) {
throw new IllegalArgumentException(String.format(format, arg));
throw new IllegalArgumentException(String.format(Locale.ROOT, format, arg));
}
}

Expand Down

0 comments on commit dcda75f

Please sign in to comment.