Clover Coverage Report - Pebble 2.5-SNAPSHOT
Coverage timestamp: Sat Jun 12 2010 09:39:29 EST
../../../../img/srcFileCovDistChart0.png 48% of files have more coverage
2   20   2   1
0   10   1   2
2     1  
1    
This report was generated with an evaluation server license. Purchase Clover or configure your license.
 
  HttpsURLRewriter       Line # 8 2 0% 2 4 0% 0.0
 
No Tests
 
1    package net.sourceforge.pebble.util;
2   
3    /**
4    * Rewrite Urls to use the given scheme, typically https.
5    * @author Olaf Kock
6    */
7   
 
8    public class HttpsURLRewriter extends UrlRewriter {
9   
10    private final String currentScheme;
11   
 
12  0 toggle public HttpsURLRewriter(String currentScheme) {
13  0 this.currentScheme = currentScheme;
14    }
15   
 
16  0 toggle public String rewrite(String url) {
17  0 return Utilities.calcBaseUrl(currentScheme, url);
18    }
19   
20    }