Skip to content

Commit

Permalink
BAEL-7743 move code to a new module
Browse files Browse the repository at this point in the history
  • Loading branch information
lor6 committed Jul 15, 2024
1 parent 192c10e commit b1cb5eb
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 3 deletions.
4 changes: 4 additions & 0 deletions core-java-modules/core-java-annotations-2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
=========

### Relevant Articles:
- [Supply Enum Value to an Annotation From a Constant in Java](https://www.baeldung.com/java-enum-annotation-constant)
16 changes: 16 additions & 0 deletions core-java-modules/core-java-annotations-2/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
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">
<modelVersion>4.0.0</modelVersion>
<artifactId>core-java-annotations-2</artifactId>
<packaging>jar</packaging>
<name>core-java-annotations-2</name>

<parent>
<groupId>com.baeldung.core-java-modules</groupId>
<artifactId>core-java-modules</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
</pattern>
</encoder>
</appender>

<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.annitationwithenum;
package com.baeldung.annotationwithenum;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
Expand Down
3 changes: 1 addition & 2 deletions core-java-modules/core-java-annotations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@
- [Efficient Word Frequency Calculator in Java](https://www.baeldung.com/java-word-frequency)
- [Why Missing Annotations Don’t Cause ClassNotFoundException](https://www.baeldung.com/classnotfoundexception-missing-annotation)
- [Valid @SuppressWarnings Warning Names](https://www.baeldung.com/java-suppresswarnings-valid-names)
- [Get a Field’s Annotations Using Reflection](https://www.baeldung.com/java-get-field-annotations)
- [Supply Enum Value to an Annotation From a Constant in Java](https://www.baeldung.com/java-enum-annotation-constant)
- [Get a Field’s Annotations Using Reflection](https://www.baeldung.com/java-get-field-annotations)
1 change: 1 addition & 0 deletions core-java-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<!--<module>core-java-strings</module> Failing test cases JAVA-24414-->
<module>core-java-time-measurements</module>
<module>core-java-annotations</module>
<module>core-java-annotations-2</module>
<module>core-java-arrays-sorting</module>
<module>core-java-arrays-guides</module>
<module>core-java-arrays-multidimensional</module>
Expand Down

0 comments on commit b1cb5eb

Please sign in to comment.