Skip to content

Commit

Permalink
Organized imports
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schnell committed Feb 4, 2024
1 parent 9f028f6 commit 7980377
Show file tree
Hide file tree
Showing 66 changed files with 107 additions and 93 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
import org.fuin.objects4j.common.Contract;
import org.fuin.objects4j.common.HasPublicStaticIsValidMethod;
import org.fuin.objects4j.common.HasPublicStaticValueOfMethod;
import javax.annotation.concurrent.Immutable;
import org.fuin.objects4j.ui.Label;
import org.fuin.objects4j.ui.ShortLabel;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
Expand All @@ -37,7 +37,6 @@
* Amount of a currency.
*/
@Immutable
// TODO Replace @Embeddable with XML????
@ShortLabel("Amount")
@Label("Amount of currency")
@HasPublicStaticIsValidMethod
Expand Down
4 changes: 2 additions & 2 deletions core/src/main/java/org/fuin/objects4j/core/DayOfTheWeek.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
*/
package org.fuin.objects4j.core;

import jakarta.annotation.Nullable;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import org.fuin.objects4j.common.ConstraintViolationException;
import org.fuin.objects4j.common.Contract;
import org.fuin.objects4j.common.HasPublicStaticIsValidMethod;
import org.fuin.objects4j.common.HasPublicStaticValueOfMethod;
import javax.annotation.concurrent.Immutable;
import jakarta.annotation.Nullable;
import org.fuin.objects4j.ui.Label;
import org.fuin.objects4j.ui.Prompt;
import org.fuin.objects4j.ui.ShortLabel;
import org.fuin.objects4j.ui.Tooltip;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;
import java.io.Serializable;
import java.time.DayOfWeek;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
*/
package org.fuin.objects4j.core;

import jakarta.annotation.Nullable;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import org.fuin.objects4j.common.ConstraintViolationException;
import org.fuin.objects4j.common.Contract;
import org.fuin.objects4j.common.HasPublicStaticIsValidMethod;
import org.fuin.objects4j.common.HasPublicStaticValueOfMethod;
import javax.annotation.concurrent.Immutable;
import jakarta.annotation.Nullable;
import org.fuin.objects4j.core.HourRanges.ChangeType;
import org.fuin.objects4j.ui.Prompt;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;
import java.io.Serializable;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
import org.fuin.objects4j.common.Contract;
import org.fuin.objects4j.common.HasPublicStaticIsValidMethod;
import org.fuin.objects4j.common.HasPublicStaticValueOfMethod;
import javax.annotation.concurrent.Immutable;
import org.fuin.objects4j.ui.Label;
import org.fuin.objects4j.ui.ShortLabel;
import org.fuin.objects4j.ui.Tooltip;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;

/**
Expand Down
4 changes: 2 additions & 2 deletions core/src/main/java/org/fuin/objects4j/core/Hour.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
*/
package org.fuin.objects4j.core;

import jakarta.annotation.Nullable;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import org.fuin.objects4j.common.ConstraintViolationException;
import org.fuin.objects4j.common.Contract;
import org.fuin.objects4j.common.HasPublicStaticIsValidMethod;
import org.fuin.objects4j.common.HasPublicStaticValueOfMethod;
import javax.annotation.concurrent.Immutable;
import jakarta.annotation.Nullable;
import org.fuin.objects4j.ui.Label;
import org.fuin.objects4j.ui.Prompt;
import org.fuin.objects4j.ui.ShortLabel;
import org.fuin.objects4j.ui.Tooltip;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;
import java.util.regex.Pattern;

Expand Down
4 changes: 2 additions & 2 deletions core/src/main/java/org/fuin/objects4j/core/HourRange.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
*/
package org.fuin.objects4j.core;

import jakarta.annotation.Nullable;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import org.fuin.objects4j.common.ConstraintViolationException;
import org.fuin.objects4j.common.Contract;
import org.fuin.objects4j.common.HasPublicStaticIsValidMethod;
import org.fuin.objects4j.common.HasPublicStaticValueOfMethod;
import javax.annotation.concurrent.Immutable;
import jakarta.annotation.Nullable;
import org.fuin.objects4j.ui.Label;
import org.fuin.objects4j.ui.Prompt;
import org.fuin.objects4j.ui.ShortLabel;
import org.fuin.objects4j.ui.Tooltip;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;
import java.util.ArrayList;
import java.util.BitSet;
Expand Down
4 changes: 2 additions & 2 deletions core/src/main/java/org/fuin/objects4j/core/HourRanges.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
*/
package org.fuin.objects4j.core;

import jakarta.annotation.Nullable;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import org.fuin.objects4j.common.ConstraintViolationException;
import org.fuin.objects4j.common.Contract;
import org.fuin.objects4j.common.HasPublicStaticIsValidMethod;
import org.fuin.objects4j.common.HasPublicStaticValueOfMethod;
import javax.annotation.concurrent.Immutable;
import jakarta.annotation.Nullable;
import org.fuin.objects4j.ui.Prompt;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;
import java.util.ArrayList;
import java.util.BitSet;
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/fuin/objects4j/core/KeyValue.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

import jakarta.validation.constraints.NotNull;
import org.fuin.objects4j.common.Contract;
import javax.annotation.concurrent.Immutable;

import javax.annotation.concurrent.Immutable;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
*/
package org.fuin.objects4j.core;

import jakarta.annotation.Nullable;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import org.fuin.objects4j.common.ConstraintViolationException;
import org.fuin.objects4j.common.Contract;
import org.fuin.objects4j.common.HasPublicStaticIsValidMethod;
import org.fuin.objects4j.common.HasPublicStaticValueOfMethod;
import javax.annotation.concurrent.Immutable;
import jakarta.annotation.Nullable;
import org.fuin.objects4j.ui.Prompt;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;
import java.util.ArrayList;
import java.util.Collections;
Expand Down
4 changes: 2 additions & 2 deletions core/src/main/java/org/fuin/objects4j/core/Password.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
*/
package org.fuin.objects4j.core;

import jakarta.annotation.Nullable;
import jakarta.validation.constraints.NotNull;
import org.fuin.objects4j.common.Contract;
import javax.annotation.concurrent.Immutable;
import jakarta.annotation.Nullable;
import org.fuin.objects4j.ui.Label;
import org.fuin.objects4j.ui.ShortLabel;
import org.fuin.objects4j.ui.Tooltip;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
*/
package org.fuin.objects4j.core;

import jakarta.annotation.Nullable;
import jakarta.validation.constraints.NotNull;
import org.fuin.objects4j.common.ConstraintViolationException;
import org.fuin.objects4j.common.Contract;
import org.fuin.objects4j.common.HasPublicStaticIsValidMethod;
import org.fuin.objects4j.common.HasPublicStaticValueOfMethod;
import javax.annotation.concurrent.Immutable;
import jakarta.annotation.Nullable;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
import jakarta.validation.constraints.NotNull;
import org.fuin.objects4j.common.HasPublicStaticIsValidMethod;
import org.fuin.objects4j.common.HasPublicStaticValueOfMethod;
import javax.annotation.concurrent.Immutable;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/fuin/objects4j/core/UserName.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
import org.fuin.objects4j.common.Contract;
import org.fuin.objects4j.common.HasPublicStaticIsValidMethod;
import org.fuin.objects4j.common.HasPublicStaticValueOfMethod;
import javax.annotation.concurrent.Immutable;
import org.fuin.objects4j.ui.Label;
import org.fuin.objects4j.ui.ShortLabel;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;
import java.util.regex.Pattern;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
*/
package org.fuin.objects4j.core;

import jakarta.annotation.Nullable;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import org.fuin.objects4j.common.ConstraintViolationException;
import org.fuin.objects4j.common.Contract;
import org.fuin.objects4j.common.HasPublicStaticIsValidMethod;
import org.fuin.objects4j.common.HasPublicStaticValueOfMethod;
import javax.annotation.concurrent.Immutable;
import jakarta.annotation.Nullable;
import org.fuin.objects4j.core.DayOpeningHours.Change;
import org.fuin.objects4j.ui.Prompt;

import javax.annotation.concurrent.Immutable;
import java.io.Serial;
import java.util.ArrayList;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
*/
package org.fuin.objects4j.jaxb;

import javax.annotation.concurrent.ThreadSafe;
import org.fuin.objects4j.core.CurrencyAmount;

import javax.annotation.concurrent.ThreadSafe;

/**
* Converts a {@link CurrencyAmount} from/to String.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
package org.fuin.objects4j.jaxb;

import jakarta.xml.bind.annotation.adapters.XmlAdapter;
import javax.annotation.concurrent.ThreadSafe;
import org.fuin.objects4j.core.CurrencyStrValidator;

import javax.annotation.concurrent.ThreadSafe;
import java.util.Currency;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
*/
package org.fuin.objects4j.jaxb;

import javax.annotation.concurrent.ThreadSafe;
import org.fuin.objects4j.core.DayOfTheWeek;

import javax.annotation.concurrent.ThreadSafe;

/**
* Converts a {@link DayOfTheWeek} from/to String.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
*/
package org.fuin.objects4j.jaxb;

import javax.annotation.concurrent.ThreadSafe;
import org.fuin.objects4j.core.DayOpeningHours;

import javax.annotation.concurrent.ThreadSafe;

/**
* Converts {@link DayOpeningHours} from/to String.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
*/
package org.fuin.objects4j.jaxb;

import javax.annotation.concurrent.ThreadSafe;
import org.fuin.objects4j.core.EmailAddress;

import javax.annotation.concurrent.ThreadSafe;

/**
* Converts {@link EmailAddress} from/to String.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
*/
package org.fuin.objects4j.jaxb;

import javax.annotation.concurrent.ThreadSafe;
import org.fuin.objects4j.core.HourRange;

import javax.annotation.concurrent.ThreadSafe;

/**
* Converts a {@link HourRange} into a String and back.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
*/
package org.fuin.objects4j.jaxb;

import javax.annotation.concurrent.ThreadSafe;
import org.fuin.objects4j.core.HourRanges;

import javax.annotation.concurrent.ThreadSafe;

/**
* Converts {@link HourRanges} into a String and back.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
*/
package org.fuin.objects4j.jaxb;

import javax.annotation.concurrent.ThreadSafe;
import org.fuin.objects4j.core.Hour;

import javax.annotation.concurrent.ThreadSafe;

/**
* Converts a {@link Hour} into a String and back.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
package org.fuin.objects4j.jaxb;

import jakarta.xml.bind.annotation.adapters.XmlAdapter;
import javax.annotation.concurrent.ThreadSafe;
import org.fuin.objects4j.core.LocaleHelper;

import javax.annotation.concurrent.ThreadSafe;
import java.util.Locale;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
*/
package org.fuin.objects4j.jaxb;

import javax.annotation.concurrent.ThreadSafe;
import org.fuin.objects4j.core.MultiDayOfTheWeek;

import javax.annotation.concurrent.ThreadSafe;

/**
* Converts {@link MultiDayOfTheWeek} into a String and back.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
*/
package org.fuin.objects4j.jaxb;

import javax.annotation.concurrent.ThreadSafe;
import org.fuin.objects4j.core.PasswordSha512;

import javax.annotation.concurrent.ThreadSafe;

/**
* Converts a {@link PasswordSha512} from/to String.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
*/
package org.fuin.objects4j.jaxb;

import javax.annotation.concurrent.ThreadSafe;
import org.fuin.objects4j.core.Password;

import javax.annotation.concurrent.ThreadSafe;

/**
* Converts a {@link Password} from/to String.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
package org.fuin.objects4j.jaxb;

import jakarta.xml.bind.annotation.adapters.XmlAdapter;
import javax.annotation.concurrent.ThreadSafe;

import javax.annotation.concurrent.ThreadSafe;
import java.util.UUID;

/**
Expand Down
Loading

0 comments on commit 7980377

Please sign in to comment.