Thanks to https://github.com/studiopress/simple-social-icons for the icons.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am gyles on github. | |
* I am gyles (https://keybase.io/gyles) on keybase. | |
* I have a public key ASAmk0OHuBpXdlUvLHBYvqrzfRiU50VmYJaXnirvpTEbCQo | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Privacy Policy of <span class="website_url">www.wiicharge.com</span></h2> | |
<p>At <span class="website_name">wiicharge</span>, we collect and manage user data according to the following Privacy Policy.</p> | |
<h3>Data Collected</h3> | |
<p>We collect information you provide directly to us. For example, we collect information when you create an account, subscribe, participate in any interactive features of our services, fill out a form, request customer support or otherwise communicate with us. The types of information we may collect include your name, email address, postal address, credit card information and other contact or identifying information you choose to provide.</p> | |
<p>We collect anonymous data from every visitor of the Website to monitor traffic and fix bugs. For example, we collect information like web requests, the data sent in response to such requests, the Internet Protocol address, the browser type, the browser language, and a timestamp for the request.</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package demo.refactored; | |
import junit.framework.Assert; | |
@SuppressWarnings("deprecation") | |
public class ComparisonCompactor { | |
private static final String ELLIPSIS = "..."; | |
private static final String DELTA_END = "]"; | |
private static final String DELTA_START = "["; | |
private int contextLength; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package demo.original; | |
import junit.framework.Assert; | |
@SuppressWarnings("deprecation") | |
public class ComparisonCompactor { | |
private static final String ELLIPSIS = "..."; | |
private static final String DELTA_END = "]"; | |
private static final String DELTA_START = "["; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package demo.defactored; | |
import junit.framework.Assert; | |
@SuppressWarnings("deprecation") | |
public class ComparisonCompactor { | |
private int ctxt; | |
private String s1; | |
private String s2; | |
private int pfx; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package demo; | |
import static org.junit.Assert.assertEquals; | |
import static org.junit.Assert.assertTrue; | |
import org.junit.Test; | |
import demo.refactored.ComparisonCompactor; | |
public class ComparisonCompactorTest { |