package QuantConnect;
import cli.QuantConnect.Resolution;
import cli.QuantConnect.SecurityType;
import cli.QuantConnect.Algorithm.QCAlgorithm;
import cli.QuantConnect.Data.Market.TradeBars;

public class BasicTemplateAlgorithm extends QCAlgorithm{
	public void Initialize()
	{
		SetStartDate(2013, 10, 07);  //Set Start Date
        SetEndDate(2013, 10, 11);    //Set End Date
        SetCash(100000);             //Set Strategy Cash
        // Find more symbols here: http://quantconnect.com/data
        AddSecurity(SecurityType.wrap(SecurityType.Equity), "SPY", Resolution.wrap(Resolution.Second),true,false);
	}
	
	 public void OnData(TradeBars data)
     {
         if (!get_Portfolio().get_Invested())
         {
             SetHoldings("SPY", 1, false);
             Debug("Hello From Java");
         }
     } 
}

@@ -239,19 +239,23 @@
 lgorithm
+%0A
 %7B%0A
-%09
+    
 public v
@@ -275,13 +275,22 @@
 e()%0A
-%09%7B%0A%09%09
+    %7B%0A        
 SetS
@@ -623,14 +623,23 @@
 e);%0A
-%09%7D%0A%09%0A%09
+    %7D%0A    %0A    
  pub

Fix white space in BasicTemplateAlgorithm.java