cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1808143 - /cxf/web/src/main/java/org/apache/cxf/cwiki/Page.java
Date Tue, 12 Sep 2017 19:00:44 GMT
Author: dkulp
Date: Tue Sep 12 19:00:44 2017
New Revision: 1808143

URL: http://svn.apache.org/viewvc?rev=1808143&view=rev
Log:
Add bash style as that's what confluence now defaults to if none specified

Modified:
    cxf/web/src/main/java/org/apache/cxf/cwiki/Page.java

Modified: cxf/web/src/main/java/org/apache/cxf/cwiki/Page.java
URL: http://svn.apache.org/viewvc/cxf/web/src/main/java/org/apache/cxf/cwiki/Page.java?rev=1808143&r1=1808142&r2=1808143&view=diff
==============================================================================
--- cxf/web/src/main/java/org/apache/cxf/cwiki/Page.java (original)
+++ cxf/web/src/main/java/org/apache/cxf/cwiki/Page.java Tue Sep 12 19:00:44 2017
@@ -612,13 +612,9 @@ public class Page extends AbstractPage i
                     if (lang == null) {
                         lang = params.get("");
                     }
-                    /*
-                    if (page.getTitle().equals("Security")) {
-                        System.out.println(params);
-                        System.out.println("lang: " + lang);
-                    }
-                    */
+                    //System.out.println("l:  " + lang + "   " + params);
                     if (StringUtils.isEmpty(lang)) {
+                        page.codeTypes.add("bash");
                         lang = "java";
                     }
                     page.codeTypes.add(lang);



Mime
View raw message