Skip to content

Commit 56e05b6

Browse files
committed
renaming packages
1 parent a918098 commit 56e05b6

32 files changed

+118
-129
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>io.github.victorhsr</groupId>
7+
<groupId>com.github.victorhsr</groupId>
88
<artifactId>hermes-maven-plugin</artifactId>
99
<version>1.0-SNAPSHOT</version>
1010
<packaging>jar</packaging>

src/main/java/io/github/victorhsr/hermes/sample/Address.java renamed to src/main/java/com/github/victorhsr/hermes/sample/Address.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package io.github.victorhsr.hermes.sample;
1+
package com.github.victorhsr.hermes.sample;
22

3-
import io.github.victorhsr.hermes.core.annotations.DSLRoot;
3+
import com.github.victorhsr.hermes.core.annotations.DSLRoot;
44

55
import java.util.Objects;
66

src/main/java/io/github/victorhsr/hermes/sample/CustomGenericKeyValuePair.java renamed to src/main/java/com/github/victorhsr/hermes/sample/CustomGenericKeyValuePair.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package io.github.victorhsr.hermes.sample;
1+
package com.github.victorhsr.hermes.sample;
22

3-
import io.github.victorhsr.hermes.core.annotations.DSLRoot;
3+
import com.github.victorhsr.hermes.core.annotations.DSLRoot;
44

55
import java.util.Objects;
66

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package io.github.victorhsr.hermes.sample;
1+
package com.github.victorhsr.hermes.sample;
22

33
import java.util.function.Consumer;
44
import java.util.stream.Stream;

src/main/java/io/github/victorhsr/hermes/sample/Person.java renamed to src/main/java/com/github/victorhsr/hermes/sample/Person.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package io.github.victorhsr.hermes.sample;
1+
package com.github.victorhsr.hermes.sample;
22

3-
import io.github.victorhsr.hermes.core.annotations.DSLProperty;
4-
import io.github.victorhsr.hermes.core.annotations.DSLRoot;
3+
import com.github.victorhsr.hermes.core.annotations.DSLProperty;
4+
import com.github.victorhsr.hermes.core.annotations.DSLRoot;
55

66
import java.util.List;
77
import java.util.Objects;

src/main/kotlin/io/github/victorhsr/hermes/core/DSLGeneratorFactory.kt renamed to src/main/kotlin/com/github/victorhsr/hermes/core/DSLGeneratorFactory.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package io.github.victorhsr.hermes.core
1+
package com.github.victorhsr.hermes.core
22

3-
import io.github.victorhsr.hermes.core.gen.CodeBlockGenerator
4-
import io.github.victorhsr.hermes.core.gen.DSLGenerator
5-
import io.github.victorhsr.hermes.core.gen.MethodSpecGenerator
3+
import com.github.victorhsr.hermes.core.gen.CodeBlockGenerator
4+
import com.github.victorhsr.hermes.core.gen.DSLGenerator
5+
import com.github.victorhsr.hermes.core.gen.MethodSpecGenerator
66

77
object DSLGeneratorFactory {
88

src/main/kotlin/io/github/victorhsr/hermes/core/DSLInfo.kt renamed to src/main/kotlin/com/github/victorhsr/hermes/core/DSLInfo.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
package io.github.victorhsr.hermes.core
1+
package com.github.victorhsr.hermes.core
22

3-
import io.github.victorhsr.hermes.core.ext.uncapitalize
3+
import com.github.victorhsr.hermes.core.ext.uncapitalize
44

55

66
data class ClassInfo(
77
val fullQualifiedName: String,
88
val parameterName: String,
99
val isRoot: Boolean,
10-
val attributes: List<AttributeInfo>
10+
val attributes: List<com.github.victorhsr.hermes.core.AttributeInfo>
1111
) {
1212
val packageName = this.fullQualifiedName.substring(0, this.fullQualifiedName.lastIndexOf("."))
1313
val simpleName = this.fullQualifiedName.removePrefix("$packageName.")

src/main/kotlin/io/github/victorhsr/hermes/core/annotations/DSLIgnore.kt renamed to src/main/kotlin/com/github/victorhsr/hermes/core/annotations/DSLIgnore.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package io.github.victorhsr.hermes.core.annotations
1+
package com.github.victorhsr.hermes.core.annotations
22

33
/**
44
* Mark an attribute to be ignored when the DSL code

src/main/kotlin/io/github/victorhsr/hermes/core/annotations/DSLProperty.kt renamed to src/main/kotlin/com/github/victorhsr/hermes/core/annotations/DSLProperty.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package io.github.victorhsr.hermes.core.annotations
1+
package com.github.victorhsr.hermes.core.annotations
22

33
/**
44
* Annotation used to customize the name of the method

src/main/kotlin/io/github/victorhsr/hermes/core/annotations/DSLRoot.kt renamed to src/main/kotlin/com/github/victorhsr/hermes/core/annotations/DSLRoot.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package io.github.victorhsr.hermes.core.annotations
1+
package com.github.victorhsr.hermes.core.annotations
22

33
/**
44
* Mark a class to be used as the root of the generated DSL.

0 commit comments

Comments
 (0)