mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Merge pull request #668 from TeamPiped/constructor-simplification
Add no args constructor to fix matrix deserialization issues.
This commit is contained in:
commit
72e68956db
1 changed files with 7 additions and 9 deletions
|
@ -1,17 +1,15 @@
|
||||||
package me.kavin.piped.utils.obj;
|
package me.kavin.piped.utils.obj;
|
||||||
|
|
||||||
import java.util.List;
|
import lombok.AllArgsConstructor;
|
||||||
import java.net.URL;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.net.URL;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
public class MetaInfo {
|
public class MetaInfo {
|
||||||
public String title, description;
|
public String title, description;
|
||||||
public List<URL> urls;
|
public List<URL> urls;
|
||||||
public List<String> urlTexts;
|
public List<String> urlTexts;
|
||||||
|
|
||||||
public MetaInfo(String title, String description, List<URL> urls, List<String> urlTexts) {
|
|
||||||
this.title = title;
|
|
||||||
this.description = description;
|
|
||||||
this.urls = urls;
|
|
||||||
this.urlTexts = urlTexts;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue