Commit 88cc2571 by Kazuyuki Hida

文字列リテラルを用意された定数に変更

parent 0586c611
...@@ -52,6 +52,7 @@ import jp.agentec.abook.abv.ui.common.view.ABVPopupListWindow; ...@@ -52,6 +52,7 @@ import jp.agentec.abook.abv.ui.common.view.ABVPopupListWindow;
import jp.agentec.abook.abv.ui.home.helper.ActivityHandlingHelper; import jp.agentec.abook.abv.ui.home.helper.ActivityHandlingHelper;
import jp.agentec.abook.abv.ui.viewer.view.CheckFormWebview; import jp.agentec.abook.abv.ui.viewer.view.CheckFormWebview;
import static jp.agentec.abook.abv.bl.common.constant.ABookKeys.REPORT_START_DATE;
import static jp.agentec.abook.abv.bl.common.constant.ABookKeys.STATUS_CODE; import static jp.agentec.abook.abv.bl.common.constant.ABookKeys.STATUS_CODE;
//TODO: later 遠隔連動関連はContentView,NoPdfViewと共通しているので要集約 //TODO: later 遠隔連動関連はContentView,NoPdfViewと共通しているので要集約
...@@ -337,9 +338,9 @@ public class HTMLWebViewActivity extends ParentWebViewActivity { ...@@ -337,9 +338,9 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
// AndroidOSが5以下のPANO_SERVER処理のため、置き換える必要がある。 // AndroidOSが5以下のPANO_SERVER処理のため、置き換える必要がある。
url = "/" + url; url = "/" + url;
if (url.contains(ABookKeys.ABOOK_CHECK_API)) { if (url.contains(ABookKeys.ABOOK_CHECK_API)) {
String cmd = uri.getQueryParameter("cmd"); String cmd = uri.getQueryParameter(ABookKeys.CMD);
if (cmd.contains("lockReport")) { if (cmd.contains(ABookKeys.CMD_LOCK_REPORT)) {
String sd = uri.getQueryParameter("reportStartDate"); String sd = uri.getQueryParameter(REPORT_START_DATE);
Logger.d(TAG, "mCmd:" + cmd + ",reportStartDate: "+ sd+", CheckApiUrl: " + url); Logger.d(TAG, "mCmd:" + cmd + ",reportStartDate: "+ sd+", CheckApiUrl: " + url);
} else { } else {
Logger.d(TAG, "mCmd:" + cmd + ", CheckApiUrl: " + url); Logger.d(TAG, "mCmd:" + cmd + ", CheckApiUrl: " + url);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment