From 0753e30ea595ddc14332aa448eeefdfce8a88aa0 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Fri, 4 Aug 2023 15:56:37 +0100 Subject: [PATCH] Add no args constructor to fix matrix deserialization issues. --- .../java/me/kavin/piped/utils/obj/MetaInfo.java | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/main/java/me/kavin/piped/utils/obj/MetaInfo.java b/src/main/java/me/kavin/piped/utils/obj/MetaInfo.java index b0915d6..53bf2eb 100644 --- a/src/main/java/me/kavin/piped/utils/obj/MetaInfo.java +++ b/src/main/java/me/kavin/piped/utils/obj/MetaInfo.java @@ -1,17 +1,15 @@ package me.kavin.piped.utils.obj; -import java.util.List; -import java.net.URL; +import lombok.AllArgsConstructor; +import lombok.NoArgsConstructor; +import java.net.URL; +import java.util.List; + +@NoArgsConstructor +@AllArgsConstructor public class MetaInfo { public String title, description; public List urls; public List urlTexts; - - public MetaInfo(String title, String description, List urls, List urlTexts) { - this.title = title; - this.description = description; - this.urls = urls; - this.urlTexts = urlTexts; - } }