Merge pull request #7152 from asturcon/BAEL-2427-refactor

BAEL 2427: code moved from core-java to core-java-exceptions
This commit is contained in:
Erik Pragt 2019-06-20 13:37:38 -05:00 committed by GitHub
commit 04a89618f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 26 deletions

View File

@ -1,26 +1,35 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung.exception.numberformat</groupId> <groupId>com.baeldung.exception.numberformat</groupId>
<artifactId>core-java-exceptions</artifactId> <artifactId>core-java-exceptions</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<name>core-java-exceptions</name> <name>core-java-exceptions</name>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>parent-java</artifactId> <artifactId>parent-java</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-java</relativePath> <relativePath>../../parent-java</relativePath>
</parent> </parent>
<dependencies> <properties>
<dependency> <commons-lang3.version>3.9</commons-lang3.version>
<groupId>junit</groupId> </properties>
<artifactId>junit</artifactId>
<version>4.12</version> <dependencies>
<scope>test</scope> <dependency>
</dependency> <groupId>junit</groupId>
</dependencies> <artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
</dependencies>
</project> </project>

View File

@ -1,7 +1,6 @@
package com.baeldung.error; package com.baeldung.exception.error;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Before;
import org.junit.Test; import org.junit.Test;
public class ErrorGeneratorUnitTest { public class ErrorGeneratorUnitTest {

View File

@ -1,3 +0,0 @@
### Relevant Articles
- [Why Do Local Variables Used in Lambdas Have to Be Final or Effectively Final?](https://www.baeldung.com/java-lambda-effectively-final-local-variables)