import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.PushbackInputStream;

public class HelloPushbackInputStream {
	public static void main(String...args) {
		System.out.println("Hello PushbackInputStream!");
		
		byte bytes[] = "x--y-zy--xy".getBytes();
		
		PushbackInputStream pis = new PushbackInputStream(
			new ByteArrayInputStream(bytes)
		);
		
		int c;
		try {
			while ( (c = pis.read()) != -1) {
				if ('-' == c) {
					int nextC;
					
					if ( (nextC = pis.read()) == '-') {
						System.out.print("**");
					} else {
						pis.unread(nextC);
						System.out.print((char)c);
					}
				} else {
					System.out.print((char)c);
				}
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}

@@ -135,17 +135,20 @@
 tream %7B%0A
-%09
+    
 public s
@@ -176,16 +176,17 @@
 g...
+ 
 args) %7B%0A
 %09%09Sy
@@ -181,18 +181,24 @@
 args) %7B%0A
-%09%09
+        
 System.o
@@ -239,21 +239,25 @@
 eam!%22);%0A
-%09%09%0A%09%09
+%0A        
 byte byt
@@ -289,21 +289,25 @@
 ytes();%0A
-%09%09%0A%09%09
+%0A        
 Pushback
@@ -348,20 +348,16 @@
 tStream(
-%0A%09%09%09
 new Byte
@@ -383,45 +383,60 @@
 tes)
-%0A%09%09);%0A%09%09%0A%09%09int c;%0A%09%09try %7B%0A%09%09%09
+);%0A%0A        int c;%0A        try %7B%0A            
 while (
- 
 (c =
@@ -461,60 +461,96 @@
 ) %7B%0A
-%09%09%09%09if ('-' == c) %7B%0A%09%09%09%09%09int nextC;%0A%09%09%09%09%09%0A%09%09%09%09%09
+                if ('-' == c) %7B%0A                    int nextC;%0A%0A                    
 if (
- 
 (nex
@@ -580,83 +580,152 @@
 ) %7B%0A
-%09%09%09%09%09%09System.out.print(%22**%22);%0A%09%09%09%09%09%7D else %7B%0A%09%09%09%09%09%09pis.unread(nextC);%0A%09%09%09%09%09%09
+                        System.out.print(%22**%22);%0A                    %7D else %7B%0A                        pis.unread(nextC);%0A                        
 Syst
@@ -747,37 +747,80 @@
 har)
+ 
 c);%0A
-%09%09%09%09%09%7D%0A%09%09%09%09%7D else %7B%0A%09%09%09%09%09
+                    %7D%0A                %7D else %7B%0A                    
 Syst
@@ -842,25 +842,53 @@
 har)
+ 
 c);%0A
-%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09
+                %7D%0A            %7D%0A        
 %7D ca
@@ -913,11 +913,20 @@
 ) %7B%0A
-%09%09%09
+            
 e.pr
@@ -946,13 +946,22 @@
 ();%0A
-%09%09%7D%0A%09
+        %7D%0A    
 %7D%0A%7D%0A

Update HelloPushbackInputStream.java