This is an automated email from the ASF dual-hosted git repository. juanpablo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jspwiki.git
commit 70953e537fcef36cf13adb889308ce2a8cc96a5f Author: juanpablo <[email protected]> AuthorDate: Sat Apr 11 17:56:18 2020 +0200 add format to a couple of method signatures --- .../src/main/java/org/apache/wiki/event/WikiPageEvent.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jspwiki-event/src/main/java/org/apache/wiki/event/WikiPageEvent.java b/jspwiki-event/src/main/java/org/apache/wiki/event/WikiPageEvent.java index 199fd4d..e5c1ec4 100644 --- a/jspwiki-event/src/main/java/org/apache/wiki/event/WikiPageEvent.java +++ b/jspwiki-event/src/main/java/org/apache/wiki/event/WikiPageEvent.java @@ -197,7 +197,8 @@ public class WikiPageEvent extends WikiEvent { * * @return a String representation of the type */ - @Override public String eventName() { + @Override + public String eventName() { switch ( getType() ) { case PAGE_LOCK: return "PAGE_LOCK"; case PAGE_UNLOCK: return "PAGE_UNLOCK"; @@ -233,7 +234,8 @@ public class WikiPageEvent extends WikiEvent { * * @return a String description of the type */ - @Override public String getTypeDescription() { + @Override + public String getTypeDescription() { switch ( getType() ) { case PAGE_LOCK: return "page lock event"; case PAGE_UNLOCK: return "page unlock event";
