Fix some compile warnings (#2919)

* Fix some compile warnings
* Some classes made final
* JPA entities made not serializable

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2026-02-11 14:05:46 +02:00
committed by GitHub
parent 17eacc729b
commit 62c76311e5
89 changed files with 362 additions and 358 deletions

View File

@@ -9,6 +9,8 @@
*/
package org.eclipse.hawkbit.ql;
import java.io.Serial;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
@@ -20,10 +22,13 @@ import lombok.ToString;
@ToString(callSuper = true)
public class QueryException extends RuntimeException {
@Serial
private static final long serialVersionUID = 1L;
public enum ErrorCode {
INVALID_SYNTAX,
UNSUPPORTED_FIELD,
GENERIC // an other
GENERIC // another
}
@Getter