Skip to content

Commit

Permalink
small corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Oct 1, 2024
1 parent a0d7f37 commit c1f5936
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

public class AxisSize {

private int min = 0;
private int min = 1;
private int step = 0;
private double offset = 0;
private String axisID;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected AxisV05(Map<String, Object> map) {
if (map.get("scale") != null)
this.scale = ((Number) map.get("scale")).doubleValue();
if (map.get("halo") != null)
this.halo = ((Number) map.get("scale")).intValue();
this.halo = ((Number) map.get("halo")).intValue();

this.size = new AxisSize(map.get("size"));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ protected static ModelDescriptorV04 buildModelDescription(Map<String, Object> ya
modelDescription.format_version = (String) fieldElement;
break;
case "version":
modelDescription.version = (String) fieldElement;
modelDescription.version = "" + fieldElement;
break;
case "name":
modelDescription.name = (String) fieldElement;
modelDescription.name = "" + fieldElement;
break;
case "timestamp":
modelDescription.timestamp = fieldElement.toString();
Expand Down

0 comments on commit c1f5936

Please sign in to comment.