Skip to content

Commit

Permalink
changed tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mitzimorris committed Dec 22, 2013
1 parent 9d92ebf commit a7dcfeb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions src/diags/src/com/colloquial/diags/Toast.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

public class Toast {

/*x Toast.1*/
/*x Toast.1*/
public static String CHEERS = "cheers";
public static String SANTE = "sant\u00e9";
public static String SKOL = "sk\u00e5l";
public static String GAMBAE = "\uac74\ubc30";
/*x*/
/*x*/
public static String NAZDROV = "\u041d\u0430 \u0437\u0434\u043e\u0440\u0432\u044c";
public static String KANPAI = "\u4e73\u676f";

Expand All @@ -22,12 +22,12 @@ public static void main(String[] args)

System.out.println("encoding: "
+ System.getProperty("file.encoding"));
System.out.println("Before we drink, we say a toast");
System.out.println("in English: " + CHEERS);
System.out.println("in French: " + SANTE);
System.out.println("in Norwegian: " + SKOL);
System.out.println("in Russian: " + NAZDROV);
System.out.println("in Japanese: " + KANPAI);
System.out.println("in Korean: " + GAMBAE);
System.out.println("Before we drink, we say a toast");
System.out.println("in English: " + CHEERS);
System.out.println("in French: " + SANTE);
System.out.println("in Norwegian: " + SKOL);
System.out.println("in Russian: " + NAZDROV);
System.out.println("in Japanese: " + KANPAI);
System.out.println("in Korean: " + GAMBAE);
}
}
4 changes: 2 additions & 2 deletions src/io/src/com/colloquial/io/FragmentsIo.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ void a2() throws IOException {
void a5() throws IOException {
/*x FragmentsIo.16 */
OutputStreamWriter outWriter
= new OutputStreamWriter(System.out,"UTF-8");
= new OutputStreamWriter(System.out,"UTF-8");
PrintWriter out
= new PrintWriter(outWriter,true);
= new PrintWriter(outWriter,true);
/*x*/
}

Expand Down
4 changes: 2 additions & 2 deletions src/regex/src/com/colloquial/regex/RegexFindVerbose.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ public static void main(String[] args) {
int start = matcher.start();
int end = matcher.end();
String found = matcher.group();
System.out.println("matched: |" + found + "|"
System.out.println("matched: |" + found + "|"
+ " at (" + start + "," + end + ")");
/*x RegexFindVerbose.1 */
matcher.appendReplacement(sb,"");
sb.setLength(0);
matcher.appendTail(sb);
/*x*/
System.out.println("remaining: |" + sb.toString() + "|");
System.out.println("remaining: |" + sb.toString() + "|");
}
}

Expand Down

0 comments on commit a7dcfeb

Please sign in to comment.