summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev/MenuElement.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-09 13:30:49 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-06-11 09:34:00 +0000
commitefd4bfa818e262d7dc219ac3ceb85526fedc732c (patch)
tree932b54f6c3689d3c087f4f3911f66695c8817229 /odk/examples/DevelopersGuide/OfficeDev/MenuElement.java
parenta6f4fde8baf3eeb36820d18ffad84192e995145f (diff)
java:regulatize the order of 'final' and public/private
Make the order be 'public static' or 'private static' Just makes the code nicer to read. Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2 Reviewed-on: https://gerrit.libreoffice.org/16202 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/MenuElement.java')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/MenuElement.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/MenuElement.java b/odk/examples/DevelopersGuide/OfficeDev/MenuElement.java
index fa351f1c7f5e..40b483b8f350 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/MenuElement.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/MenuElement.java
@@ -37,7 +37,7 @@ import com.sun.star.uno.UnoRuntime;
// A helper class to determine the menu element type
public class MenuElement
{
- static public boolean IsMenuEntry( com.sun.star.beans.XPropertySet xMenuElement ) {
+ public static boolean IsMenuEntry( com.sun.star.beans.XPropertySet xMenuElement ) {
com.sun.star.lang.XServiceInfo xServiceInfo =
UnoRuntime.queryInterface(
com.sun.star.lang.XServiceInfo.class, xMenuElement );
@@ -45,7 +45,7 @@ public class MenuElement
return xServiceInfo.supportsService( "com.sun.star.ui.ActionTrigger" );
}
- static public boolean IsMenuSeparator( com.sun.star.beans.XPropertySet xMenuElement ) {
+ public static boolean IsMenuSeparator( com.sun.star.beans.XPropertySet xMenuElement ) {
com.sun.star.lang.XServiceInfo xServiceInfo =
UnoRuntime.queryInterface(
com.sun.star.lang.XServiceInfo.class, xMenuElement );