From fea54e2fa02efdc7e76829b5d7ea684dffa37021 Mon Sep 17 00:00:00 2001 From: Anagh Hegde Date: Thu, 10 Jun 2021 17:12:29 +0530 Subject: [PATCH] Moved constructor to the top. --- .../com/appsmith/server/domains/ApplicationPage.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ApplicationPage.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ApplicationPage.java index 8dd39116a8..452cefe7b3 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ApplicationPage.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ApplicationPage.java @@ -22,14 +22,14 @@ public class ApplicationPage { Integer order; - @JsonIgnore - public boolean isDefault() { - return Boolean.TRUE.equals(isDefault); - } - public ApplicationPage(String id, boolean isDefault){ this.id = id; this.isDefault = isDefault; } + @JsonIgnore + public boolean isDefault() { + return Boolean.TRUE.equals(isDefault); + } + }