From b09e13a9cf53bf8544d05e4709fd922052b31744 Mon Sep 17 00:00:00 2001 From: Guillaume Beraudo Date: Wed, 29 Dec 2010 08:13:43 +0100 Subject: [PATCH] Remove getter/Setter to access height/width directly. --- java/common/org/linphone/core/VideoSize.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/java/common/org/linphone/core/VideoSize.java b/java/common/org/linphone/core/VideoSize.java index 6aa18ab18..8e5c079c7 100644 --- a/java/common/org/linphone/core/VideoSize.java +++ b/java/common/org/linphone/core/VideoSize.java @@ -27,13 +27,8 @@ public final class VideoSize { public static final int HVGA = 2; public static final int QVGA = 3; - private int width; - public int getWidth() {return width;} - public void setWidth(int width) {this.width = width;} - - private int height; - public int getHeight() {return height;} - public void setHeight(int height) {this.height = height;} + public int width; + public int height; public VideoSize() {} public VideoSize(int width, int height) {