Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions owlplug-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>com.owlplug</groupId>
<artifactId>owlplug</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
</parent>

<artifactId>owlplug-client</artifactId>
Expand All @@ -36,22 +36,22 @@
<dependency>
<groupId>com.owlplug</groupId>
<artifactId>owlplug-host</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
</dependency>
<dependency>
<groupId>com.owlplug</groupId>
<artifactId>owlplug-theme</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
</dependency>
<dependency>
<groupId>com.owlplug</groupId>
<artifactId>owlplug-controls</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
</dependency>
<dependency>
<groupId>com.owlplug</groupId>
<artifactId>owlplug-parsers</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class OASFile {
private List<String> architectures;
private List<String> contains;
private String type;
private int size;
private long size;
private String sha256;
private String url;

Expand Down Expand Up @@ -62,11 +62,11 @@ public void setType(String type) {
this.type = type;
}

public int getSize() {
public long getSize() {
return size;
}

public void setSize(int size) {
public void setSize(long size) {
this.size = size;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ public static PackageBundle mapperToEntity(OASFile file, String name) {
String bundleName = name + " - " + String.join(" ", targets);
packageBundle.setName(bundleName);

// Size in OAS registry is in bits not in bytes.
packageBundle.setFileSize(file.getSize() / 8);
packageBundle.setFileSize(file.getSize());
packageBundle.setFormats(getPluginFormatsFromFileFormats(file.getContains()));

return packageBundle;
Expand Down
2 changes: 1 addition & 1 deletion owlplug-controls/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>owlplug</artifactId>
<groupId>com.owlplug</groupId>
<version>2.0.1</version>
<version>2.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion owlplug-host/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.owlplug</groupId>
<artifactId>owlplug</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
</parent>
<artifactId>owlplug-host</artifactId>
<name>owlplug-host</name>
Expand Down
2 changes: 1 addition & 1 deletion owlplug-parsers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>owlplug</artifactId>
<groupId>com.owlplug</groupId>
<version>2.0.1</version>
<version>2.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion owlplug-theme/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.owlplug</groupId>
<artifactId>owlplug</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
</parent>

<artifactId>owlplug-theme</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.owlplug</groupId>
<artifactId>owlplug</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>
<packaging>pom</packaging>


Expand Down
Loading