svn commit: r507237 - /ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PaidInOut.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r507237 - /ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PaidInOut.java

jleroux@apache.org
Author: jleroux
Date: Tue Feb 13 13:35:42 2007
New Revision: 507237

URL: http://svn.apache.org/viewvc?view=rev&rev=507237
Log:
Replace a "==" by an equals. My mistake, wrong reflex took from working with C# last year :(. Thanks to Stefan Huehner (OFBIZ-515)

Modified:
    ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PaidInOut.java

Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PaidInOut.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PaidInOut.java?view=diff&rev=507237&r1=507236&r2=507237
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PaidInOut.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PaidInOut.java Tue Feb 13 13:35:42 2007
@@ -84,7 +84,7 @@
         ResourceBundle reasons = null;
         Enumeration reasonsKeys = null;
         
-        if (m_type == "IN") {
+        if (m_type.equals("IN")) {
             m_dialog.setCaption(UtilProperties.getMessage("pos", "PaidInTitle", Locale.getDefault()));
             reasons = ResourceBundle.getBundle(m_pos.getScreenLocation() + "/dialog/PaidIn", Locale.getDefault());
             reasonsKeys = reasons.getKeys();