Skip to content

Commit

Permalink
v2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio committed Nov 27, 2021
1 parent 74945a5 commit 8103047
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>io.github.cdimascio</groupId>
<artifactId>dotenv-java</artifactId>
<version>2.2.1</version>
<version>2.2.2</version>

<licenses>
<license>
Expand Down Expand Up @@ -260,15 +260,15 @@
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<!-- <repository>-->
<!-- <id>github</id>-->
<!-- <name>Carmine M DiMascio</name>-->
<!-- <url>https://maven.pkg.github.com/cdimascio/dotenv-java</url>-->
<!-- <id>ossrh</id>-->
<!-- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
<!-- </repository>-->
<repository>
<id>github</id>
<name>Carmine M DiMascio</name>
<url>https://maven.pkg.github.com/cdimascio/dotenv-java</url>
</repository>
</distributionManagement>
<profiles>
<profile>
Expand Down
14 changes: 7 additions & 7 deletions src/main/java/io/github/cdimascio/dotenv/DotenvBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import static java.util.stream.Collectors.*;

/**
* Builds and loads and {@link Dotenv} instance
* Builds and loads and {@link Dotenv} instance.
* @see Dotenv#configure()
*/
public class DotenvBuilder {
Expand All @@ -19,7 +19,7 @@ public class DotenvBuilder {
private boolean throwIfMalformed = true;

/**
* Sets the directory containing the .env file
* Sets the directory containing the .env file.
* @param path the directory containing the .env file
* @return this {@link DotenvBuilder}
*/
Expand All @@ -28,7 +28,7 @@ public DotenvBuilder directory(String path) {
return this;
}
/**
* Sets the name of the .env file. The default is .env
* Sets the name of the .env file. The default is .env.
* @param name the filename
* @return this {@link DotenvBuilder}
*/
Expand All @@ -38,7 +38,7 @@ public DotenvBuilder filename(String name) {
}

/**
* Does not throw an exception when .env is missing
* Does not throw an exception when .env is missing.
* @return this {@link DotenvBuilder}
*/
public DotenvBuilder ignoreIfMissing() {
Expand All @@ -47,7 +47,7 @@ public DotenvBuilder ignoreIfMissing() {
}

/**
* Does not throw an exception when .env is malformed
* Does not throw an exception when .env is malformed.
* @return this {@link DotenvBuilder}
*/
public DotenvBuilder ignoreIfMalformed() {
Expand All @@ -56,7 +56,7 @@ public DotenvBuilder ignoreIfMalformed() {
}

/**
* Sets each environment variable as system properties
* Sets each environment variable as system properties.
* @return this {@link DotenvBuilder}
*/
public DotenvBuilder systemProperties() {
Expand All @@ -65,7 +65,7 @@ public DotenvBuilder systemProperties() {
}

/**
* Load the contents of .env into the virtual environment
* Load the contents of .env into the virtual environment.
* @return a new {@link Dotenv} instance
* @throws DotenvException when an error occurs
*/
Expand Down

0 comments on commit 8103047

Please sign in to comment.