This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?><!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.0//EN" | |
| "report.dtd"> | |
| <report name="pubg-api-wrapper"> | |
| <sessioninfo id="Kevins-MacBook-Pro.local-aeb34bc9" start="1534702636504" dump="1534702652857"/> | |
| <sessioninfo id="Kevins-MacBook-Pro.local-88d710fc" start="1534704720654" dump="1534704745021"/> | |
| <package name="de/kevcodez/pubg/model/status"> | |
| <class name="de/kevcodez/pubg/model/status/Status"> | |
| <method name="getReleasedAt" desc="()Ljava/time/Instant;" line="12"> | |
| <counter type="INSTRUCTION" missed="7" covered="0"/> | |
| <counter type="BRANCH" missed="2" covered="0"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| buildscript { | |
| ext { | |
| kotlin_version = '1.2.71' | |
| junit_version = '5.3.1' | |
| } | |
| dependencies { | |
| classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.awt.*; | |
| import java.awt.image.BufferedImage; | |
| public class ImageScaler { | |
| public BufferedImage resizeImage(BufferedImage originalImage, Dimension maxDimension) { | |
| Dimension imageDimensions = new Dimension(originalImage.getWidth(), originalImage.getHeight()); | |
| Dimension scaledDimensions = getScaledDimension(imageDimensions, maxDimension); | |
| BufferedImage resizedImage = new BufferedImage(scaledDimensions.width, scaledDimensions.height, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.ByteArrayInputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import com.amazonaws.auth.AWSStaticCredentialsProvider; | |
| import com.amazonaws.auth.BasicAWSCredentials; | |
| import com.amazonaws.client.builder.AwsClientBuilder; | |
| import com.amazonaws.services.s3.AmazonS3; | |
| import com.amazonaws.services.s3.AmazonS3ClientBuilder; | |
| import com.amazonaws.services.s3.model.CannedAccessControlList; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.net.URI; | |
| import java.util.Map; | |
| import javax.net.ssl.HostnameVerifier; | |
| import javax.net.ssl.SSLContext; | |
| import javax.ws.rs.client.Client; | |
| import javax.ws.rs.client.Invocation; | |
| import javax.ws.rs.client.WebTarget; | |
| import javax.ws.rs.core.Configuration; |
NewerOlder