Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswoehlke committed Dec 11, 2022
1 parent 9ce5ff5 commit 11c97a8
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import lombok.extern.java.Log;
import org.woehlke.computer.kurzweil.tabs.TabType;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import lombok.extern.java.Log;
import org.woehlke.computer.kurzweil.tabs.TabType;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import lombok.extern.java.Log;
import org.woehlke.computer.kurzweil.tabs.TabType;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import lombok.extern.java.Log;
import org.woehlke.computer.kurzweil.tabs.TabType;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import lombok.extern.java.Log;
import org.woehlke.computer.kurzweil.tabs.TabType;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import lombok.extern.java.Log;
import org.woehlke.computer.kurzweil.tabs.TabType;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import lombok.extern.java.Log;
import org.woehlke.computer.kurzweil.tabs.TabType;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import lombok.extern.java.Log;
import org.woehlke.computer.kurzweil.tabs.TabType;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.InputStream;
import java.io.Serializable;
import java.util.jar.JarEntry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
import lombok.extern.java.Log;
import org.woehlke.computer.kurzweil.tabs.TabType;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.*;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
Expand Down Expand Up @@ -48,14 +49,16 @@ public static class Allinone {
////@Validated
@ToString
public static class Lattice {
@NotNull @Getter @Setter private Integer width;
@NotNull
@Getter @Setter private Integer width;
@NotNull @Getter @Setter private Integer height;
}

////@Validated
@ToString
public static class View {
@NotBlank @Getter @Setter private String title;
@NotBlank
@Getter @Setter private String title;
@NotBlank @Getter @Setter private String subtitle;
@NotBlank @Getter @Setter private String copyright;
@NotNull @Getter @Setter private Integer borderPaddingX;
Expand Down
4 changes: 1 addition & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,7 @@
</pluginRepositories>

<properties>


<java.version>17</java.version>
<java.version>11</java.version>
<version.java>${java.version}</version.java>
<version.maven>3.6.3</version.maven>

Expand Down

0 comments on commit 11c97a8

Please sign in to comment.