Skip to content

Commit

Permalink
Update Transformer.java
Browse files Browse the repository at this point in the history
update
  • Loading branch information
emanuelaepure10 committed Dec 15, 2023
1 parent d31f01b commit 4a887c7
Show file tree
Hide file tree
Showing 5 changed files with 265 additions and 216 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ tasks.named('test') {

spotless {
java {
/*palantirJavaFormat()
palantirJavaFormat()
importOrder('java', 'javax', '')
removeUnusedImports()
indentWithSpaces(4)
trimTrailingWhitespace()
endWithNewline()*/
endWithNewline()

target 'src/*/java/**/*.java'
}
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/to/wetransform/hale/transformer/SourceConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

import eu.esdihumboldt.hale.common.core.io.Value;

public record SourceConfig(URI location, String providerId, Map<String, Value> settings, boolean transform,
List<String> attachments) {
public record SourceConfig(
URI location, String providerId, Map<String, Value> settings, boolean transform, List<String> attachments) {

public SourceConfig(URI location, String providerId) {
this(location, providerId, new HashMap<>(), true, new ArrayList<>());
}
public SourceConfig(URI location, String providerId) {
this(location, providerId, new HashMap<>(), true, new ArrayList<>());
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package to.wetransform.hale.transformer;

public record TargetConfig(String filename, String preset, CustomTarget customTarget) {
}
public record TargetConfig(String filename, String preset, CustomTarget customTarget) {}
Loading

0 comments on commit 4a887c7

Please sign in to comment.