Skip to content

Commit

Permalink
206
Browse files Browse the repository at this point in the history
  • Loading branch information
smthing committed Sep 6, 2024
1 parent b808f14 commit c7db3ba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.smartboot.http.common.enums.HttpStatus;
import org.smartboot.http.common.logging.Logger;
import org.smartboot.http.common.logging.LoggerFactory;
import org.smartboot.http.common.utils.StringUtils;
import org.smartboot.http.server.HttpRequest;
import org.smartboot.http.server.HttpResponse;
import org.smartboot.http.server.HttpServerHandler;
Expand All @@ -27,7 +26,6 @@
import java.io.InputStream;
import java.io.OutputStream;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.Properties;
import java.util.concurrent.CompletableFuture;
Expand Down Expand Up @@ -142,11 +140,8 @@ private LicenseTO loadLicense(LicenseEntity entity) throws IOException {
licenseTO.setTrialDuration(entity.getTrialDuration());
licenseTO.setContact(entity.getContact());
licenseTO.setVendor(entity.getApplicant());
licenseTO.setPlugins(Arrays.asList(StringUtils.split(properties.getProperty("plugins", ""), ",")));
licenseTO.setMac(properties.getProperty("mac"));
return licenseTO;
}



}
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

package tech.smartboot.servlet.plugins.license;

import java.util.List;

public class LicenseTO {
private final long startTime = System.currentTimeMillis();
private String sn;
Expand Down Expand Up @@ -39,10 +37,6 @@ public class LicenseTO {
*/
private String vendor;

private List<String> plugins;

private String mac;

public String getApplicant() {
return applicant;
}
Expand Down Expand Up @@ -94,20 +88,4 @@ public String getVendor() {
public void setVendor(String vendor) {
this.vendor = vendor;
}

public List<String> getPlugins() {
return plugins;
}

public void setPlugins(List<String> plugins) {
this.plugins = plugins;
}

public String getMac() {
return mac;
}

public void setMac(String mac) {
this.mac = mac;
}
}

0 comments on commit c7db3ba

Please sign in to comment.