Improve image management and ACR
[lgpl/argeo-commons.git] / org.argeo.api.cms / src / org / argeo / api / cms / ux / Cms2DSize.java
index 1ec753a187770d4d6f67c02476754dadc6a05a9e..f35e98c5022bb730b343d4e4a1b003c5c0aef0ac 100644 (file)
@@ -1,38 +1,9 @@
 package org.argeo.api.cms.ux;
 
 /** A 2D size. */
-public class Cms2DSize {
-       private Integer width;
-       private Integer height;
-
-       public Cms2DSize() {
-       }
-
-       public Cms2DSize(Integer width, Integer height) {
-               super();
-               this.width = width;
-               this.height = height;
-       }
-
-       public Integer getWidth() {
-               return width;
-       }
-
-       public void setWidth(Integer width) {
-               this.width = width;
-       }
-
-       public Integer getHeight() {
-               return height;
-       }
-
-       public void setHeight(Integer height) {
-               this.height = height;
-       }
-
+public record Cms2DSize(int width, int height) {
        @Override
        public String toString() {
                return Cms2DSize.class.getSimpleName() + "[" + width + "," + height + "]";
        }
-
 }