From: Svjatoslav Agejenko Date: Sun, 20 Jul 2014 17:59:52 +0000 (+0300) Subject: improved navigation X-Git-Tag: svjatoslavcommons-1.8~100 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=95c4e19df098e06c73cd63b03ce40e05a6b475a7;p=svjatoslav_commons.git improved navigation --- diff --git a/src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java b/src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java index ba6e730..339db68 100755 --- a/src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java +++ b/src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java @@ -1,7 +1,7 @@ /* * Svjatoslav Commons - shared library of common functionality. * Copyright ©2012-2014, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of version 3 of the GNU Lesser General Public License * or later as published by the Free Software Foundation. @@ -73,13 +73,16 @@ public class Navigation { return result.toString(); } - public void setDefaultNavigationItem( + public NavigationItem setDefaultNavigationItem( final NavigationItem defaultNavigationItem) { this.defaultNavigationItem = defaultNavigationItem; + return defaultNavigationItem; } - public void setRootNavigationItem(final NavigationItem rootNavigationItem) { + public NavigationItem setRootNavigationItem( + final NavigationItem rootNavigationItem) { this.rootNavigationItem = rootNavigationItem; + return rootNavigationItem; } }