Skip to content

Commit

Permalink
Merge pull request #5 from melissalinkert/invalid-shape-index
Browse files Browse the repository at this point in the history
Fix invalid Shape.TheC value
  • Loading branch information
sbesson authored Jun 5, 2024
2 parents 02ab1fd + defb154 commit d4c0064
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,11 @@ private static int ARGBToRGBA(int argb) {
public static abstract class OmeroShape {

@SerializedName(value = "TheC")
private int c = -1;
private Integer c;
@SerializedName(value = "TheZ")
private int z;
private Integer z;
@SerializedName(value = "TheT")
private int t;
private Integer t;

@SerializedName(value = "@type")
private String type;
Expand Down Expand Up @@ -471,4 +471,4 @@ private static String pointsToString(List<Point2> points) {

}

}
}

0 comments on commit d4c0064

Please sign in to comment.