title: Java compile error: "reached end of file while parsing }"
body: <p>I have the following source code</p>
  
  <pre><code>public class mod_MyMod extends BaseMod
  public String Version()
  {
       return "1.2_02";
  }
  public void AddRecipes(CraftingManager recipes)
  {
     recipes.addRecipe(new ItemStack(Item.diamond), new Object[] {
        "#", Character.valueOf('#'), Block.dirt
     });
  }
  </code></pre>
  
  <p>When I try to compile it I get the following error:</p>
  
  <pre><code>java:11: reached end of file while parsing }
  </code></pre>
  
  <p>What am I doing wrong? Any help appreciated.</p>