Skip to content

Commit

Permalink
Imports
Browse files Browse the repository at this point in the history
  • Loading branch information
SwordOfSouls committed Nov 26, 2022
1 parent dff225b commit 105d290
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import org.swordofsouls.discord.chatexporter.Html.Html;
import org.swordofsouls.discord.chatexporter.Html.HtmlFile;
import org.swordofsouls.discord.chatexporter.Utils.File.FileUtils;
import org.swordofsouls.discord.chatexporter.Utils.Time.TimeUtils;

import java.time.Instant;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package org.swordofsouls.discord.chatexporter.Html.Builders.Message;

import org.swordofsouls.discord.chatexporter.Html.Builders.HtmlBase;
import org.swordofsouls.discord.chatexporter.Html.HtmlFile;

import java.time.Instant;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import java.util.TimeZone;

public class MessageBuilder extends MessageCore {
public MessageBuilder(HtmlFile file) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package org.swordofsouls.discord.chatexporter.Html.Builders.Message;

import jdk.jfr.ContentType;
import org.javacord.api.entity.Attachment;
import org.javacord.api.entity.message.MessageAttachment;
import org.javacord.api.entity.message.component.ActionRow;
import org.javacord.api.entity.message.component.Button;
Expand All @@ -19,7 +17,6 @@
import org.swordofsouls.discord.chatexporter.Utils.File.FileUtils;
import org.swordofsouls.discord.chatexporter.Utils.Time.TimeUtils;

import java.awt.datatransfer.MimeTypeParseException;
import java.time.Instant;
import java.time.ZoneId;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
import org.swordofsouls.discord.chatexporter.Html.HtmlFile;
import org.swordofsouls.discord.chatexporter.Utils.File.FileUtils;

import java.time.Instant;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;

public class PinMessageBuilder extends HtmlBase {
public PinMessageBuilder(HtmlFile file) {
super(file);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package org.swordofsouls.discord.chatexporter.Html;

import org.swordofsouls.discord.chatexporter.Html.Builders.BaseBuilder;

public class Html {
public static final class Attachment {
public static final String ROOT = "Attachment/";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package org.swordofsouls.discord.chatexporter.Html;

import java.io.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;
import java.util.stream.Collectors;

public class HtmlReader {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,21 @@
import org.javacord.api.entity.server.Server;
import org.javacord.api.entity.user.User;
import org.javacord.api.entity.user.UserFlag;
import org.swordofsouls.discord.chatexporter.Html.Builders.BaseBuilder;
import org.swordofsouls.discord.chatexporter.Html.Builders.Message.MessageBuilder;
import org.swordofsouls.discord.chatexporter.Html.Builders.Message.MessageGroupBuilder;
import org.swordofsouls.discord.chatexporter.Html.Builders.MetaBuilder;
import org.swordofsouls.discord.chatexporter.Html.Html;
import org.swordofsouls.discord.chatexporter.Html.Builders.BaseBuilder;
import org.swordofsouls.discord.chatexporter.Utils.File.FileUtils;
import org.swordofsouls.discord.chatexporter.Utils.Time.TimeUtils;

import java.time.Instant;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import java.util.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletableFuture;

@Getter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.swordofsouls.discord.chatexporter.Utils.File;

import java.util.Arrays;
import java.util.List;

public class FileUtils {
Expand Down

0 comments on commit 105d290

Please sign in to comment.