details: https://code.openbravo.com/erp/devel/pi/rev/e2957cd09cc5
changeset: 16573:e2957cd09cc5
user: Guillermo Álvarez de Eulate <guillermo.alvarez <at> openbravo.com>
date: Thu May 17 19:42:09 2012 +0200
summary: Related to issue 15247: 'import static' statement has been removed
diffstat:
src/org/openbravo/erpCommon/ad_forms/InstancePurpose.java | 4 +---
src/org/openbravo/erpCommon/ad_process/TestHeartbeat.java | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diffs (42 lines):
diff -r fbb7883e896b -r e2957cd09cc5
src/org/openbravo/erpCommon/ad_forms/InstancePurpose.java
--- a/src/org/openbravo/erpCommon/ad_forms/InstancePurpose.java Thu May 17
18:24:05 2012 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/InstancePurpose.java Thu May 17
19:42:09 2012 +0200
@@ -19,8 +19,6 @@
package org.openbravo.erpCommon.ad_forms;
-import static org.apache.commons.lang.StringEscapeUtils.escapeHtml;
-
import java.io.IOException;
import java.io.PrintWriter;
@@ -98,7 +96,7 @@
Form instanceActivationForm = OBDal.getInstance().get(Form.class,
instanceActivationId);
if (instanceActivationForm != null) {
newTabTitle = instanceActivationForm.getIdentifier();
- newTabTitle = escapeHtml(newTabTitle);
+ newTabTitle =
org.apache.commons.lang.StringEscapeUtils.escapeHtml(newTabTitle);
} else {
newTabTitle = "Instance Activation";
}
diff -r fbb7883e896b -r e2957cd09cc5
src/org/openbravo/erpCommon/ad_process/TestHeartbeat.java
--- a/src/org/openbravo/erpCommon/ad_process/TestHeartbeat.java Thu May 17
18:24:05 2012 +0200
+++ b/src/org/openbravo/erpCommon/ad_process/TestHeartbeat.java Thu May 17
19:42:09 2012 +0200
@@ -19,8 +19,6 @@
package org.openbravo.erpCommon.ad_process;
-import static org.apache.commons.lang.StringEscapeUtils.escapeHtml;
-
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Timestamp;
@@ -289,7 +287,7 @@
Window heartBeatConf_win = OBDal.getInstance().get(Window.class,
heartBeatConf_win_id);
if (heartBeatConf_win != null) {
newTabTitle = heartBeatConf_win.getIdentifier();
- newTabTitle = escapeHtml(newTabTitle);
+ newTabTitle =
org.apache.commons.lang.StringEscapeUtils.escapeHtml(newTabTitle);
} else {
newTabTitle = "Heartbeat Configuration";
}
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits