Author: doogie
Date: Sat Mar 21 23:24:43 2009 New Revision: 757076 URL: http://svn.apache.org/viewvc?rev=757076&view=rev Log: Fix purely empty whitespace lines, and remove trailing whitespace. Modified: ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiContainer.java ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiSession.java Modified: ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiContainer.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiContainer.java?rev=757076&r1=757075&r2=757076&view=diff ============================================================================== --- ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiContainer.java (original) +++ ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiContainer.java Sat Mar 21 23:24:43 2009 @@ -6,9 +6,9 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -44,7 +44,7 @@ protected String configFile = null; public void init(String[] args, String configFile) throws ContainerException { - this.configFile = configFile; + this.configFile = configFile; } public boolean start() throws ContainerException { @@ -78,7 +78,7 @@ UIManager.setLookAndFeel(laf); } catch (Exception e) { throw new ContainerException(e); - } + } } // create and cache the session @@ -96,7 +96,7 @@ String classPackageName = ContainerConfig.getPropertyValue(cc, "class-package-name", "net.xoetrope.swing"); JFrame jframe = new JFrame(); - jframe.setUndecorated(true); + jframe.setUndecorated(true); new XuiScreen( new String[] { this.startupDir + this.startupFile, classPackageName}, jframe); @@ -131,9 +131,9 @@ class XuiScreen extends XApplet { protected String startupProperties = ""; - + public XuiScreen(String[] args, JFrame frame) { - super(args, frame); + super(args, frame); if (args.length > 0) { startupProperties = args[0]; } @@ -146,10 +146,10 @@ String language = UtilProperties.getPropertyValue(startupProperties, "Language"); if (language.compareTo("XuiLabels" + suffix ) != 0) { UtilProperties.setPropertyValue(startupProperties, "Language", "XuiLabels" + suffix); - } + } frame.setVisible(true); frame.getContentPane().add(this); frame.validate(); - } + } } } Modified: ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiSession.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiSession.java?rev=757076&r1=757075&r2=757076&view=diff ============================================================================== --- ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiSession.java (original) +++ ofbiz/trunk/framework/guiapp/src/org/ofbiz/guiapp/xui/XuiSession.java Sat Mar 21 23:24:43 2009 @@ -6,9 +6,9 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -60,7 +60,7 @@ public XuiContainer getContainer() { return this.container; } - + public GenericDelegator getDelegator() { return this.delegator; } @@ -110,8 +110,8 @@ public void login(String username, String password) throws UserLoginFailure { // if already logged in; verify for lock. Depends on SAME_LOGIN, false by default - if (this.userLogin != null) { - if (IS_SAME_LOGIN == true && !userLogin.getString("userLoginId").equals(username)) { + if (this.userLogin != null) { + if (IS_SAME_LOGIN == true && !userLogin.getString("userLoginId").equals(username)) { throw new UserLoginFailure(UtilProperties.getMessage("XuiUiLabels", "XuiUsernameDoesNotMatchLoggedUser", locale)); } } |
Free forum by Nabble | Edit this page |