From ad7a196c580c14e16c13ec728d4eefb01bf0a80d Mon Sep 17 00:00:00 2001 From: Sanjeev yadav Date: Thu, 22 Nov 2018 09:37:48 +0530 Subject: [PATCH] Don't need access specifier for function If the interface has been declared public don't need to specify access specifier for functions --- .../main/java/com/android/utility/AlertDialogInterface.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utility/src/main/java/com/android/utility/AlertDialogInterface.java b/utility/src/main/java/com/android/utility/AlertDialogInterface.java index 47be7e5..81fde56 100644 --- a/utility/src/main/java/com/android/utility/AlertDialogInterface.java +++ b/utility/src/main/java/com/android/utility/AlertDialogInterface.java @@ -5,6 +5,6 @@ */ public interface AlertDialogInterface { - public void positiveButtonPressed(); - public void negativeButtonPressed(); + void positiveButtonPressed(); + void negativeButtonPressed(); }