You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2020/02/24 16:52:59 UTC

[jspwiki] 17/38: translate WatchDog changes to JSPs

This is an automated email from the ASF dual-hosted git repository.

juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git

commit dc5168f2f47c1f4984a27a237a5603835066bca2
Author: juanpablo <ju...@apache.org>
AuthorDate: Fri Feb 21 11:51:36 2020 +0100

    translate WatchDog changes to JSPs
---
 jspwiki-war/src/main/webapp/Diff.jsp     | 2 +-
 jspwiki-war/src/main/webapp/PageInfo.jsp | 2 +-
 jspwiki-war/src/main/webapp/Wiki.jsp     | 2 +-
 jspwiki-war/src/main/webapp/rss.jsp      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/jspwiki-war/src/main/webapp/Diff.jsp b/jspwiki-war/src/main/webapp/Diff.jsp
index 1d2ede4..c9b8adf 100644
--- a/jspwiki-war/src/main/webapp/Diff.jsp
+++ b/jspwiki-war/src/main/webapp/Diff.jsp
@@ -41,7 +41,7 @@
     }
     String pagereq = wikiContext.getName();
 
-    WatchDog w = wiki.getCurrentWatchDog();
+    WatchDog w = WatchDog.getCurrentWatchDog( wiki );
     try
     {
     w.enterState("Generating INFO response",60);
diff --git a/jspwiki-war/src/main/webapp/PageInfo.jsp b/jspwiki-war/src/main/webapp/PageInfo.jsp
index fe5445c..ec7c848 100644
--- a/jspwiki-war/src/main/webapp/PageInfo.jsp
+++ b/jspwiki-war/src/main/webapp/PageInfo.jsp
@@ -39,7 +39,7 @@
     }
     String pagereq = wikiContext.getName();
 
-    WatchDog w = wiki.getCurrentWatchDog();
+    WatchDog w = WatchDog.getCurrentWatchDog( wiki );
     try {
     w.enterState("Generating INFO response",60);
 
diff --git a/jspwiki-war/src/main/webapp/Wiki.jsp b/jspwiki-war/src/main/webapp/Wiki.jsp
index 7dca137..b6fc66d 100644
--- a/jspwiki-war/src/main/webapp/Wiki.jsp
+++ b/jspwiki-war/src/main/webapp/Wiki.jsp
@@ -45,7 +45,7 @@
 
     StopWatch sw = new StopWatch();
     sw.start();
-    WatchDog w = wiki.getCurrentWatchDog();
+    WatchDog w = WatchDog.getCurrentWatchDog( wiki );
     try {
         w.enterState("Generating VIEW response for "+wikiContext.getPage(),60);
 
diff --git a/jspwiki-war/src/main/webapp/rss.jsp b/jspwiki-war/src/main/webapp/rss.jsp
index e528bb9..e60bd38 100644
--- a/jspwiki-war/src/main/webapp/rss.jsp
+++ b/jspwiki-war/src/main/webapp/rss.jsp
@@ -67,7 +67,7 @@
         return;
     }
 
-    WatchDog w = wiki.getCurrentWatchDog();
+    WatchDog w = WatchDog.getCurrentWatchDog( wiki );
     w.enterState("Generating RSS",60);
     
     // Set the mode and type for the feed