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

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


The following commit(s) were added to refs/heads/master by this push:
     new 97d2c92  2.11.0-M5-git-13 : fixes of bugs reported by sonarcloud.
97d2c92 is described below

commit 97d2c920f268d8c19704dfb43cef3fb4f165f34a
Author: brushed <[email protected]>
AuthorDate: Sat Aug 24 15:58:10 2019 +0200

    2.11.0-M5-git-13 : fixes of bugs reported by sonarcloud.
---
 .../src/main/webapp/templates/210/InfoContent.jsp  | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/jspwiki-war/src/main/webapp/templates/210/InfoContent.jsp 
b/jspwiki-war/src/main/webapp/templates/210/InfoContent.jsp
index 6c7de94..1e82600 100644
--- a/jspwiki-war/src/main/webapp/templates/210/InfoContent.jsp
+++ b/jspwiki-war/src/main/webapp/templates/210/InfoContent.jsp
@@ -37,7 +37,7 @@
   int attCount = c.getEngine().getAttachmentManager().listAttachments( 
c.getPage() ).size();
   String attTitle = LocaleSupport.getLocalizedMessage(pageContext, 
"attach.tab");
   if( attCount != 0 ) attTitle += " (" + attCount + ")";
-  
+
   String tabParam = (String)request.getParameter( "tab" );
   if ( tabParam == null ) tabParam = "info";
 
@@ -202,11 +202,11 @@
     <div class="zebra-table sortable table-filter">
     <table class="wikitable" >
       <tr>
-        <th><fmt:message key="info.version"/></th>
-        <th><fmt:message key="info.date"/></th>
-        <th><fmt:message key="info.size"/></th>
-        <th><fmt:message key="info.author"/></th>
-        <th><fmt:message key="info.changes"/></th>
+        <th scope="col"><fmt:message key="info.version"/></th>
+        <th scope="col"><fmt:message key="info.date"/></th>
+        <th scope="col"><fmt:message key="info.size"/></th>
+        <th scope="col"><fmt:message key="info.author"/></th>
+        <th scope="col"><fmt:message key="info.changes"/></th>
         <th class='changenote'><fmt:message key="info.changenote"/></th>
       </tr>
 
@@ -343,15 +343,15 @@
   <div class="zebra-table"><div class="slimbox-img sortable">
   <table class="wikitable">
     <tr>
-      <th><fmt:message key="info.attachment.type"/></th>
-      <%--<th><fmt:message key="info.attachment.name"/></th>--%>
-      <th><fmt:message key="info.version"/></th>
-      <th><fmt:message key="info.size"/></th>
-      <th><fmt:message key="info.date"/></th>
-      <th><fmt:message key="info.author"/></th>
+      <th scope="col"><fmt:message key="info.attachment.type"/></th>
+      <%--<th scope="col"><fmt:message key="info.attachment.name"/></th>--%>
+      <th scope="col"><fmt:message key="info.version"/></th>
+      <th scope="col"><fmt:message key="info.size"/></th>
+      <th scope="col"><fmt:message key="info.date"/></th>
+      <th scope="col"><fmt:message key="info.author"/></th>
       <%--
       <wiki:Permission permission="upload">
-         <th><fmt:message key="info.actions"/></th>
+         <th scope="col"><fmt:message key="info.actions"/></th>
       </wiki:Permission>
       --%>
       <th  class='changenote'><fmt:message key="info.changenote"/></th>

Reply via email to